kopia lustrzana https://github.com/wagtail/wagtail
Update Webpack to v2 (#3628)
* Update webpack and its dependencies * Update base config to Webpack 2pull/3637/head
rodzic
952e3a8e49
commit
911567af4e
|
|
@ -22,7 +22,7 @@ module.exports = function exports() {
|
|||
return {
|
||||
entry: entry,
|
||||
output: {
|
||||
path: '.',
|
||||
path: path.resolve('.'),
|
||||
filename: '[name].js',
|
||||
publicPath: '/static/js/'
|
||||
},
|
||||
|
|
@ -39,10 +39,10 @@ module.exports = function exports() {
|
|||
},
|
||||
},
|
||||
module: {
|
||||
loaders: [
|
||||
rules: [
|
||||
{
|
||||
test: /\.js$/,
|
||||
loader: 'babel',
|
||||
loader: 'babel-loader',
|
||||
exclude: /node_modules/,
|
||||
},
|
||||
]
|
||||
|
|
|
|||
Plik diff jest za duży
Load Diff
14
package.json
14
package.json
|
|
@ -23,13 +23,13 @@
|
|||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-cli": "^6.22.2",
|
||||
"babel-core": "^6.22.1",
|
||||
"babel-cli": "^6.24.1",
|
||||
"babel-core": "^6.24.1",
|
||||
"babel-jest": "^20.0.3",
|
||||
"babel-loader": "^6.2.10",
|
||||
"babel-loader": "^7.0.0",
|
||||
"babel-plugin-lodash": "^3.2.11",
|
||||
"babel-polyfill": "^6.22.0",
|
||||
"babel-preset-es2015": "^6.22.0",
|
||||
"babel-preset-es2015": "^6.24.1",
|
||||
"babel-preset-react": "^6.24.1",
|
||||
"enzyme": "^2.8.2",
|
||||
"enzyme-to-json": "^1.5.1",
|
||||
|
|
@ -39,21 +39,21 @@
|
|||
"eslint-plugin-import": "^1.8.1",
|
||||
"eslint-plugin-jsx-a11y": "^1.5.3",
|
||||
"eslint-plugin-react": "^5.2.2",
|
||||
"exports-loader": "^0.6.3",
|
||||
"exports-loader": "^0.6.4",
|
||||
"gulp": "~3.8.11",
|
||||
"gulp-autoprefixer": "~3.0.2",
|
||||
"gulp-rename": "^1.2.2",
|
||||
"gulp-sass": "~2.3.1",
|
||||
"gulp-sourcemaps": "~1.5.2",
|
||||
"gulp-util": "~2.2.14",
|
||||
"imports-loader": "^0.6.5",
|
||||
"imports-loader": "^0.7.1",
|
||||
"jest": "^20.0.4",
|
||||
"mustache": "^2.2.1",
|
||||
"react-addons-test-utils": "^15.4.2",
|
||||
"react-test-renderer": "^15.5.4",
|
||||
"redux-mock-store": "^1.2.2",
|
||||
"require-dir": "^0.3.0",
|
||||
"webpack": "^1.12.14"
|
||||
"webpack": "^2.6.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"focus-trap-react": "^3.0.3",
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue