Use webpack for full build, find something else for type checking

This commit is contained in:
Andreas Hocevar
2018-01-29 22:34:54 +01:00
parent 03e244a6a2
commit 9c12b351e5
3 changed files with 24 additions and 27 deletions
+14
View File
@@ -0,0 +1,14 @@
const webpack = require('webpack');
const MinifyPlugin = require('babel-minify-webpack-plugin');
module.exports = {
entry: './src/index.js',
output: {
filename: 'build/ol.js'
},
devtool: 'source-map',
plugins: [
new webpack.optimize.ModuleConcatenationPlugin(),
new MinifyPlugin()
]
};