Right now the webpack:build setup is located in the root of the Swift source project (https://github.com/dynamicweb/Swift).
Wouldn't it be better to place inside the Swift designs folder (e.g. https://github.com/dynamicweb/Swift/tree/main/Swift/Files/Templates/Designs/Swift) so that we can support for building Swift with customizations for each individual designsfolder?
I've attached my testing of it.
And I just copied these files into the Swift folder:
- .babelrc
- .editorconfig
- .stylelintignore
- .stylelintrc.json
- package.json
- postcss.config.js
- README.md
- webpack.config.js