Skip to content

Commit

Permalink
Fixes #293
Browse files Browse the repository at this point in the history
  • Loading branch information
krisk committed Mar 10, 2019
1 parent 664a9ac commit d207dfb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions configs/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ module.exports = {
module: {
rules: [{
test: /\.?(j|t)s$/,
exclude: /(node_modules|bower_components)/,
exclude: /(node_modules)/,
use: {
loader: 'babel-loader',
options: {
presets: ['@babel/preset-env', '@babel/preset-typescript']
}
}
}],
}]
},
plugins: [
new webpack.BannerPlugin({
Expand All @@ -41,4 +41,4 @@ module.exports = {
umdNamedDefine: true,
globalObject: 'this'
}
}
}
3 changes: 0 additions & 3 deletions configs/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ 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 Down

0 comments on commit d207dfb

Please sign in to comment.