This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| "extends": [ | |
| "tslint:latest", | |
| "tslint-config-prettier", | |
| ], | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // If [email protected]+ | |
| { | |
| "extends": [ | |
| "tslint:latest", | |
| "tslint-plugin-prettier" | |
| ], | |
| "rules": { | |
| "prettier": true | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const webpack = require('webpack'); | |
| module.exports = { | |
| module: { | |
| rules: [ | |
| { | |
| test: /\.ts$/, | |
| exclude: /node_modules|src/, | |
| use: [ | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const rules = config.module.rules; | |
| // File the rules from the build that builds all the TS files. The MainRule | |
| const mainRule = rules.find((r) => { | |
| // If not in prod mode, this IF will find the mainRule | |
| if (r.loader) { | |
| return ( | |
| r && r.loader && r.loader.endsWith(angularLoaderFilename) | |
| ); |
OlderNewer