Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
deprecate, dont break
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Aug 29, 2018
1 parent 76cb6d9 commit f05a8e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion webpack.js
Original file line number Diff line number Diff line change
@@ -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');
3 changes: 2 additions & 1 deletion webpack/config.js
Original file line number Diff line number Diff line change
@@ -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');

0 comments on commit f05a8e5

Please sign in to comment.