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

Request: Update Webpack to 4.0+ #845

Closed
aligneddev opened this issue Mar 14, 2018 · 4 comments
Closed

Request: Update Webpack to 4.0+ #845

aligneddev opened this issue Mar 14, 2018 · 4 comments

Comments

@aligneddev
Copy link

It would be great if the cli was updated to use webpack 4+.
Here is a write-up using webpack 4

https://github.com/vuorinem/aspnet-aurelia-webpack-skeleton is his linked Github project.

This also might lead the way so I can retry PWAs. https://stackoverflow.com/questions/48023333/aurelia-cli-pwa-with-webpack-and-workbox..

Thanks.

Sorry if this is a duplicate issue.

@aligneddev
Copy link
Author

aligneddev commented Mar 14, 2018

I created a new Aurelia app with au new and webpack as the option. I have Aurelia-cli 0.32.0 installed.
Then I went through these steps:

ERROR in c:\git\aurelia\pwa\hn-pwa\tsconfig.json
[tsl] ERROR
TS5051: Option 'sourceRoot can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided.
i 「wdm」: Failed to compile.

I'll try to sneak some time in tomorrow during work to push this a bit further and have a better write with project (if I can get past the production bug when I left for the day :-)).
I attached what I have so far: aurelia-wp4.zip

@Alexander-Taran
Copy link
Contributor

Alexander-Taran commented Mar 14, 2018

You can use webpack 4 with updated version of aurelia webpack plugin

For configs you can lookup jods4 repository with demos

Next version of CLI will have it

@aligneddev
Copy link
Author

Thanks @Alexander-Taran. I'm adding the link to the repo for easier finding: https://github.com/jods4/aurelia-webpack-build

@aligneddev
Copy link
Author

https://twitter.com/AureliaEffect/status/973943835146444800

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants