Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Commit

Permalink
Revert "Webpack 3 (#1040)" (#1042)
Browse files Browse the repository at this point in the history
This reverts commit c274966.
  • Loading branch information
leggsimon committed Jul 25, 2017
1 parent c274966 commit 5487920
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions build/webpack.common.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ module.exports = {
}
],

// This is actually included in the 'es2015' preset but we need to override the
// `loose` option to be true
// TODO: stop transform-es2015-classes being loose. loose allows non-spec compliant classes.
[ require.resolve('babel-plugin-transform-es2015-classes'), { loose: true } ]

// converts import/export to commonjs, currently not used but
// will look to include it for browsers that can support modules
// require('babel-plugin-transform-es2015-modules-commonjs'),
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@
"@financial-times/n-express": "^19.0.0",
"@financial-times/n-handlebars": "^1.15.0",
"@financial-times/next-json-ld": "^0.1.0",
"ajv": "^5.2.2",
"autoprefixer": "^6.3.6",
"aws-sdk": "^2.7.21",
"babel-core": "^6.25.0",
"babel-loader": "^7.0.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-es2015-classes": "^6.14.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.8.0",
"babel-plugin-transform-runtime": "^6.12.0",
"babel-preset-es2015": "^6.14.0",
Expand All @@ -87,7 +87,7 @@
"commander": "^2.9.0",
"css-loader": "^0.28.4",
"extract-css-block-webpack-plugin": "^1.3.0",
"extract-text-webpack-plugin": "^3.0.0",
"extract-text-webpack-plugin": "^2.1.0",
"ft-poller": "^2.9.0",
"handlebars-loader": "^1.4.0",
"imports-loader": "^0.7.1",
Expand All @@ -102,7 +102,7 @@
"sass-loader": "^6.0.5",
"semver": "^5.3.0",
"shellpromise": "^1.4.0",
"webpack": "^3.2.0",
"webpack": "^2.6.1",
"webpack-merge": "^4.1.0",
"webpack-sources": "^1.0.1",
"webpack-stats-plugin": "^0.1.1"
Expand Down

0 comments on commit 5487920

Please sign in to comment.