Browse Source

Update webpack(v3)

pull/281/head
Artur Arseniev 9 years ago
parent
commit
f045c60c07
  1. 6
      dist/grapes.min.js
  2. 6
      package.json
  3. 6
      webpack.config.js
  4. 601
      yarn.lock

6
dist/grapes.min.js

File diff suppressed because one or more lines are too long

6
package.json

@ -1,7 +1,7 @@
{
"name": "grapesjs",
"description": "Free and Open Source Web Builder Framework",
"version": "0.9.63",
"version": "0.9.65",
"author": "Artur Arseniev",
"license": "BSD-3-Clause",
"homepage": "http://grapesjs.com",
@ -37,8 +37,8 @@
"mocha": "^3.1.2",
"node-sass": "^3.4.2",
"sinon": "^1.17.6",
"webpack": "^2.6.1",
"webpack-dev-server": "^2.4.5"
"webpack": "^3.5.5",
"webpack-dev-server": "^2.7.1"
},
"keywords": [
"wte",

6
webpack.config.js

@ -4,15 +4,14 @@ var env = process.env.WEBPACK_ENV;
var name = 'grapes';
var plugins = [];
if(env !== 'dev'){
if(env !== 'dev') {
plugins = [
new webpack.optimize.ModuleConcatenationPlugin(),
new webpack.optimize.UglifyJsPlugin({
//sourceMap: true,
minimize: true,
compressor: {warnings: false},
}),
new webpack.BannerPlugin(pkg.name + ' - ' + pkg.version),
//v2 new webpack.BannerPlugin({banner: 'Banner v2'});
]
}
@ -27,6 +26,7 @@ module.exports = {
},
externals: {
jquery: {
commonjs2: 'jquery',
commonjs: 'jquery',
amd: 'jquery',
root: 'jQuery'

601
yarn.lock

File diff suppressed because it is too large
Loading…
Cancel
Save