Convert project to webpack

This commit is contained in:
2023-11-11 17:23:33 +01:00
parent 9d676c339b
commit f86dadfc7d
21 changed files with 7765 additions and 1749 deletions

12
build/paths.js Normal file
View File

@@ -0,0 +1,12 @@
const path = require('path')
module.exports = {
SRC: path.resolve(__dirname, '..', 'src'),
DIST: path.resolve(__dirname, '..', 'dist'),
ASSETS: path.resolve(__dirname, '..', 'assets'),
IMAGES: path.resolve(__dirname, '..', 'src/images'),
STYLES: path.resolve(__dirname, '..', 'src/styles'),
LIB: path.resolve(__dirname, '..', 'lib'),
MASKS: path.resolve(__dirname, '..', 'src/masks'),
ROOT: path.resolve(__dirname, '..')
}