aboutsummaryrefslogtreecommitdiffstats
path: root/config/webpack/paths.js
diff options
context:
space:
mode:
Diffstat (limited to 'config/webpack/paths.js')
-rw-r--r--config/webpack/paths.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/config/webpack/paths.js b/config/webpack/paths.js
new file mode 100644
index 0000000..fd4c73f
--- /dev/null
+++ b/config/webpack/paths.js
@@ -0,0 +1,15 @@
+const path = require('path');
+
+const devFolder = path.resolve(__dirname, '../../src/');
+
+module.exports = {
+ src: {
+ fonts: path.resolve(devFolder, './fonts/'),
+ images: path.resolve(devFolder, './images/'),
+ scripts: path.resolve(devFolder, './js/app.js'),
+ style: path.resolve(devFolder, './scss/style.scss'),
+ },
+ dist: path.resolve(devFolder, '../assets/'),
+ files: [path.resolve(devFolder, '../**/*.php')],
+ sassPaths: [path.resolve(devFolder, '../node_modules/modern-normalize/')],
+};