keeweb/webpack.config.js

20 lines
624 B
JavaScript
Raw Normal View History

2019-09-16 18:18:51 +02:00
// This file is here for smart IDE's who configure the resolve rules based on webpack.config.js
// This config is never used for building. The real thing is in build/webpack.config.js
2019-01-06 13:09:45 +01:00
2019-09-16 18:18:51 +02:00
const path = require('path');
2019-08-16 18:45:11 +02:00
2019-09-16 18:18:51 +02:00
module.exports = {
resolve: {
modules: [
path.join(__dirname, 'app/scripts'),
path.join(__dirname, 'app/styles'),
path.join(__dirname, 'app/resources'),
path.join(__dirname, 'node_modules')
2019-01-06 13:09:45 +01:00
],
2019-09-16 18:18:51 +02:00
alias: {
2019-10-12 13:24:37 +02:00
templates: path.join(__dirname, 'app/templates'),
tests: path.join(__dirname, 'tests')
2019-09-16 18:18:51 +02:00
}
}
};