npm link development working & improved webpack

This commit is contained in:
Sean Macfarlane
2020-04-02 15:24:52 -04:00
parent d9f0509268
commit bbff32e1ca
8 changed files with 3913 additions and 2758 deletions

12
webpack/paths.js Normal file
View File

@@ -0,0 +1,12 @@
const path = require('path');
module.exports = {
root: path.resolve(__dirname, '../'),
outputPath: path.resolve(__dirname, '../', 'dist'),
entryPath: path.resolve(__dirname, '../', 'app/index.js'),
templatePath: path.resolve(__dirname, '../', 'app/index.html'),
imagesFolder: 'images',
fontsFolder: 'fonts',
cssFolder: 'css',
jsFolder: 'js',
};