diff --git a/webpack.js b/webpack.js index 98cf8c717..96fb4cece 100644 --- a/webpack.js +++ b/webpack.js @@ -1 +1,2 @@ -throw new Error(`As of Sapper 0.18, webpack config must be loaded from sapper/config/webpack.js`); \ No newline at end of file +console.error(`[DEPRECATION] As of Sapper 0.18, webpack config should be loaded from sapper/config/webpack.js`); +module.exports = require('./dist/webpack.js'); \ No newline at end of file diff --git a/webpack/config.js b/webpack/config.js index 98cf8c717..388f348b5 100644 --- a/webpack/config.js +++ b/webpack/config.js @@ -1 +1,2 @@ -throw new Error(`As of Sapper 0.18, webpack config must be loaded from sapper/config/webpack.js`); \ No newline at end of file +console.error(`[DEPRECATION] As of Sapper 0.18, webpack config should be loaded from sapper/config/webpack.js`); +module.exports = require('../dist/webpack.js'); \ No newline at end of file