mirror of https://github.com/status-im/codimd.git
Sync webpack config changes to production
This commit is contained in:
parent
ef5524be91
commit
9443a6f996
|
@ -7,11 +7,15 @@ var HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||||
module.exports = Object.assign({}, baseConfig, {
|
module.exports = Object.assign({}, baseConfig, {
|
||||||
plugins: [
|
plugins: [
|
||||||
new webpack.ProvidePlugin({
|
new webpack.ProvidePlugin({
|
||||||
'_': 'lodash',
|
|
||||||
Visibility: "visibilityjs",
|
Visibility: "visibilityjs",
|
||||||
Cookies: "js-cookie",
|
Cookies: "js-cookie",
|
||||||
emojify: "emojify.js",
|
emojify: "emojify.js",
|
||||||
key: "keymaster"
|
key: "keymaster",
|
||||||
|
$: "jquery",
|
||||||
|
jQuery: "jquery",
|
||||||
|
"window.jQuery": "jquery",
|
||||||
|
"moment": "moment",
|
||||||
|
"Handlebars": "handlebars"
|
||||||
}),
|
}),
|
||||||
new ExtractTextPlugin("[name].css"),
|
new ExtractTextPlugin("[name].css"),
|
||||||
new webpack.optimize.CommonsChunkPlugin({
|
new webpack.optimize.CommonsChunkPlugin({
|
||||||
|
|
Loading…
Reference in New Issue