Skip to content

Commit

Permalink
feat: 移除 dll 多余的 rules
Browse files Browse the repository at this point in the history
  • Loading branch information
imsunhao committed Oct 25, 2019
1 parent 7b03477 commit f7f6d65
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/config/webpack.dll.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,6 @@ export function getDllConfig(options: ConfigOptions.options): webpack.Configurat
name: 'dll',
mode,
entry: dll.entry,
module: {
rules: [
{
test: /\.js$/,
loader: 'happypack/loader?id=babel',
exclude: /node_modules/
},
{
test: /\.tsx?$/,
use: ['happypack/loader?id=babel', 'happypack/loader?id=ts'],
exclude: /node_modules/
}
]
},
output: {
path: dll.path,
publicPath: dll.publicPath,
Expand Down

0 comments on commit f7f6d65

Please sign in to comment.