Skip to content

Commit

Permalink
chore: 调整external与platform传入方式, 与bundle-webpack对齐
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinbao1001 committed Apr 29, 2024
1 parent 8648526 commit e9df652
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 20 deletions.
2 changes: 1 addition & 1 deletion examples/mako/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"scripts": {
"build": "OKAM=@alipay/umi-bundler-okam father build",
"build": "father build",
"build:no-clean": "father build --no-clean",
"dev": "father dev",
"dev:no-clean": "father dev --no-clean",
Expand Down
2 changes: 1 addition & 1 deletion src/builder/bundle/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ async function bundle(opts: IBundleOpts): Promise<void | IBundleWatcher> {
chainWebpack: config.chainWebpack,
define: config.define,
devtool: config.sourcemap && ('source-map' as DevTool),
externals: config.externals || {},
externals: config.externals,
outputPath: config.output.path,

// postcss config
Expand Down
18 changes: 0 additions & 18 deletions src/builder/bundle/utils.ts

This file was deleted.

0 comments on commit e9df652

Please sign in to comment.