Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
Update test script.
Browse files Browse the repository at this point in the history
  • Loading branch information
surmon committed Nov 30, 2017
1 parent 2600186 commit 794771e
Show file tree
Hide file tree
Showing 3 changed files with 200 additions and 254 deletions.
1 change: 0 additions & 1 deletion config/base.conf.js
Expand Up @@ -37,7 +37,6 @@ module.exports = {
'process.env': env
}),
new webpack.optimize.UglifyJsPlugin({
exclude: /swiper\.esm\.bundle\.js/i,
compress: { warnings: false }
})
]
Expand Down
7 changes: 6 additions & 1 deletion config/test.conf.js
Expand Up @@ -5,6 +5,11 @@ const baseConfig = require('./base.conf')

module.exports = merge(baseConfig, {
// use inline sourcemap for karma-sourcemap-loader
devtool: '#inline-source-map'
devtool: '#inline-source-map',
resolve: {
alias: {
'swiper': 'swiper/dist/js/swiper.js'
}
}
})

0 comments on commit 794771e

Please sign in to comment.