Skip to content

Commit

Permalink
Fixed #293
Browse files Browse the repository at this point in the history
  • Loading branch information
krisk committed Mar 10, 2019
1 parent fb062da commit ec9ce99
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion configs/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ const CopyPlugin = require('copy-webpack-plugin')
module.exports = merge(common, {
mode: 'production',
devtool: false,
module: {
rules: [{ test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader' }]
},
plugins: [
new CopyPlugin([{
from: path.resolve(__dirname, '../src/typings.d.ts'),
Expand All @@ -16,4 +19,4 @@ module.exports = merge(common, {
optimization: {
minimizer: [new TerserPlugin()]
}
})
})
Loading

0 comments on commit ec9ce99

Please sign in to comment.