deprecate, dont break

This commit is contained in:
Rich Harris
2018-08-29 18:01:27 -04:00
parent 76cb6d97f3
commit f05a8e52a0
2 changed files with 4 additions and 2 deletions

View File

@@ -1 +1,2 @@
throw new Error(`As of Sapper 0.18, webpack config must be loaded from sapper/config/webpack.js`);
console.error(`[DEPRECATION] As of Sapper 0.18, webpack config should be loaded from sapper/config/webpack.js`);
module.exports = require('./dist/webpack.js');

View File

@@ -1 +1,2 @@
throw new Error(`As of Sapper 0.18, webpack config must be loaded from sapper/config/webpack.js`);
console.error(`[DEPRECATION] As of Sapper 0.18, webpack config should be loaded from sapper/config/webpack.js`);
module.exports = require('../dist/webpack.js');