Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webpack template CSS Files written with write-file-webpack-plugin ? #62

Open
tautera opened this issue May 14, 2018 · 0 comments
Open
Labels

Comments

@tautera
Copy link

tautera commented May 14, 2018

I am wondering if the write-file-webpack-plugin also writes CSS bundled files to the filesystem? I am using the webpack template with vuejs, which splits the js and css files when using the 'npm run build' command. Which works great for prod, but not so great for dev.

Because of our existing Spring MVC project, we need access to the (vuejs multi-entry project) js and css files in the .jsp files. We opted to do this, as the existing web app has too many pages to convert at once.

When running in the dev environment (npm run dev), the js available thru http://localhost:8081/entry-point-1.js, but the css is not (can't figure out the url, if there is one). So I saw the write-file-webpack-plugin and thought it may work for us, but I am unsure how to write out the bundled css files?

I've been working on this challenge for days, and have not found a solution, any help/suggestions would be greatly appreciated!

@gajus gajus added the question label May 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants