-
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
angular-cli (webpack/pug) #10879
Comments
While this may have worked in previous versions it was not supported. Your script is changing the installed CLI package...
The newest version does not use that file and therefore no longer works. |
sad( back to html = ( |
@Brocco maybe there is another file with webpack config which we have to change instead of |
I found it: |
@krivochenko Thanks! But i don't have "build-angular" folder in @angular-devkit = ( |
i have "architect", "core" & "schematics" |
@krivochenko I was using |
For angular 6+ you can use this code.. `const fs = require('fs'); const commonCliConfig = 'node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/webpack-configs/common.js'; fs.readFile(commonCliConfig, (err, data) => {
}); |
@usman-vqode big thanks! |
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. |
Versions
Repro steps
work in 5.2 version, that version used webpack
create file pug-rule-insert.js:
node pug-rule-insert.js
Observed behavior
Desired behavior
That script adds support of pug for webpack, how i can make the same in version 6 of angular(cli)?
NOTE:
Don't wont use webpack (previous solution works for angular-cli)
The text was updated successfully, but these errors were encountered: