Developer forum

Forum » Swift » Swift webpack:build setup per designs folder

Swift webpack:build setup per designs folder

Kevin Steffer
Kevin Steffer
Reply

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

Replies

 
Mikkel Hammer
Mikkel Hammer
Reply

+1

 
Stefan Winther Dynamicweb Employee
Stefan Winther
Reply

Sounds like a do-able thing!
We will look into this - and in the nearest future, some restructuring/refactoring will come to the frontend setup in Swift 

 
Kim Søjborg Pedersen
Reply

+1

 

You must be logged in to post in the forum