You've already forked gnatdashboard
mirror of
https://github.com/AdaCore/gnatdashboard.git
synced 2026-02-12 12:30:42 -08:00
Use es6 target for typescript Use proper node modules versions Remove dll budles plugin: this plugin was a shortcut to generate vendor bundle + reference it in the bundled app, but in fact it was forcing the vendor entry point name to "vendor" when it should have been the same as the name defined in the bundle-manifest.json: vendor_lib. Hence the 'vendor_lib' not defined. So make it work, do: > npm install > npm run build:dev > npm run server:dev (after having put the data dir content in /dist/data) And it requires at least node 8.0.0 TO-DO: the final js files are a bit under 2M, some minification might be good to reduce it a bit, but as it's a loaded locally, it's no big deal. Part of S913-015 Change-Id: I9c37f86e54adeed938f684f5a8e23646e93c0291
45 lines
857 B
JSON
45 lines
857 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es6",
|
|
"module": "es2015",
|
|
"moduleResolution": "node",
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"sourceMap": true,
|
|
"noEmit": true,
|
|
"noEmitHelpers": true,
|
|
"strictNullChecks": false,
|
|
"lib": [
|
|
"es2015",
|
|
"dom"
|
|
],
|
|
"typeRoots": [
|
|
"node_modules/@types"
|
|
],
|
|
"types": [
|
|
"hammerjs",
|
|
"node"
|
|
]
|
|
},
|
|
"exclude": [
|
|
"node_modules",
|
|
"dist",
|
|
"src/**/*.spec.ts",
|
|
"src/**/*.e2e.ts"
|
|
],
|
|
"awesomeTypescriptLoaderOptions": {
|
|
"forkChecker": true,
|
|
"useWebpackText": true
|
|
},
|
|
"angularCompilerOptions": {
|
|
"genDir": "./compiled",
|
|
"skipMetadataEmit": true
|
|
},
|
|
"compileOnSave": false,
|
|
"buildOnSave": false,
|
|
"atom": {
|
|
"rewriteTsconfig": false
|
|
}
|
|
}
|