mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-15 04:14:46 +00:00
move webpack config out of sapper, into the app
This commit is contained in:
7
lib/config.js
Normal file
7
lib/config.js
Normal file
@@ -0,0 +1,7 @@
|
||||
const path = require('path');
|
||||
|
||||
exports.dev = process.env.NODE_ENV !== 'production';
|
||||
|
||||
exports.templates = path.resolve(process.env.SAPPER_TEMPLATES || 'templates');
|
||||
exports.src = path.resolve(process.env.SAPPER_ROUTES || 'routes');
|
||||
exports.dest = path.resolve(process.env.SAPPER_DEST || '.sapper');
|
||||
Reference in New Issue
Block a user