-
Notifications
You must be signed in to change notification settings - Fork 12k
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
1.0.0-beta.16 broke the "assets" functionality #2396
Comments
I made the comment in the gitter room. Please disregard, it was a red herring. |
same problem here too |
Was able to fix that by adding a |
yes. that solve the issue |
OK, that sounds like a workaround for most cases, thank you @monojack . Has anybody any idea how to overcome this issue if my app is not not served directly from the root of my domain (but from a subdirectory)? By the way, this problem creeped into beta.15, too. Our project was building just fine but on a fresh checkout and npm install, since today it is broken ... |
Same here, working on beta 15, now either have to use |
The solution of @monojack doesn't work if you publish with a different |
As @davinkevin mention, it do not work with custom base tag. |
@TheLarkInn is there a way to use https://github.com/webpack/html-loader in which it works with relative paths AND with changed base-href? Edit: some context webpack-contrib/html-loader#85 |
We've reverted the change that lead to this scenario in #2537. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
node: 6.7.0
os: win32 x64
Same exact "assets" directory and related config files setup worked fine before.
Module not found: Error: Can't resolve './assets/logo.png' in 'C:\project1\src\app\login'
@ ./src/app/login/login.component.html 1:92-120
@ ./src/app/login/login.component.ts
@ ./src/app/login/index.ts
@ ./src/app/app.module.ts
@ ./src/app/index.ts
@ ./src/main.ts
@ multi main
The CHANGELOG doesn't seem to indicate anything that would be related to the assets.
Could fix(build): use config output path as default #2158 have potentially affected this flow?
The text was updated successfully, but these errors were encountered: