Skip to content

Instantly share code, notes, and snippets.

@sairamkrish
Created May 30, 2018 12:38
Show Gist options
  • Save sairamkrish/4b664473553538f13dd1557883bae129 to your computer and use it in GitHub Desktop.
Save sairamkrish/4b664473553538f13dd1557883bae129 to your computer and use it in GitHub Desktop.
AngularPlayground with ng-bootstrap
{
...
"playground": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/playground",
"index": "src/index.html",
"main": "src/main.playground.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.css",
{
"input": "./node_modules/bootstrap/dist/css/bootstrap.css"
}
],
"scripts": []
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": false
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "playground:build"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment