webpack-config-trainiac
Webpac config files
This assumes a project has the following structure
- The public static path will be
/static
and will map the client build directory - The root css file that includes all other css files will be under a client src directory
static/css/index.js
and will be output to the client build directory and namesstyles.css
- The root js file will be located at the client src directory and named
index.js
and will be output to the client build directory and named 'build.js' - The following static source path files
index.html
andfavicon.ico
will be copied to the server side build path. - The static source path will have an
images
folder that will be copied to the client side build path.