Upgrade 0.40 to 0.41
Change startupjs and all @startupjs/* dependencies in your package.json to ^0.41.
TypeScript support was improved in this release. This required updating eslint config to use a new module, as well as switching to an explicit usage of pug function in TS files.
DEPRECATED
-
You should not use
pugfunction without importing it anymore. Import it fromstartupjsmodule:
BREAKING CHANGES
-
Update linter configuration to use new babel parser module:
-
Replace
babel-eslintdependency with a new one. Run: -
Replace
"parser"in your.eslintrc.json:
-
-
For proper TypeScript support copy the following
tsconfig.jsonfile to the root of your project: