diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-02-20 16:11:50 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-02-20 16:15:08 +0100 |
| commit | 73a5c7fae9ffbe9ada721148c8c454a643aceebe (patch) | |
| tree | c8fad013ed9b5dd589add87f8d45cf02bbfc6e91 /config/webpack | |
| parent | b01239fbdcc5bbc5921f73ec0e8fee7bedd5c8e8 (diff) | |
chore!: restructure repo
I separated public files from the config/dev files. It improves repo
readability.
I also moved dotenv helper to public/inc directory and extract the
Matomo tracker in the same directory.
Diffstat (limited to 'config/webpack')
| -rw-r--r-- | config/webpack/paths.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/webpack/paths.js b/config/webpack/paths.js index fd4c73f..6b85154 100644 --- a/config/webpack/paths.js +++ b/config/webpack/paths.js @@ -9,7 +9,7 @@ module.exports = { scripts: path.resolve(devFolder, './js/app.js'), style: path.resolve(devFolder, './scss/style.scss'), }, - dist: path.resolve(devFolder, '../assets/'), - files: [path.resolve(devFolder, '../**/*.php')], + dist: path.resolve(devFolder, '../public/assets/'), + files: [path.resolve(devFolder, '../public/**/*.php')], sassPaths: [path.resolve(devFolder, '../node_modules/modern-normalize/')], }; |
