Babel: use babel-loader instead of ts-loader, ng-annotate with babel-plugin-angularjs-annotate (#21554)
* Applied prettier to some webpack configs * Removed ng-annotate … and used same annotation approach as webpack.hot.js * Removed redundant import … that is problematic with Babel's module resolver * Updated lockfile * Replace ts-loader with babel-loader in webpack.dev * Change tslint-loade order in dev webpack config Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
This commit is contained in:
committed by
Dominik Prokop
co-authored by
Dominik Prokop
parent
260239d98b
commit
e7e0d18bc8
+5
-5
@@ -9,11 +9,13 @@
|
||||
"url": "http://github.com/grafana/grafana.git"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.6.4",
|
||||
"@babel/plugin-syntax-dynamic-import": "7.2.0",
|
||||
"@babel/core": "7.8.3",
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "7.8.3",
|
||||
"@babel/plugin-proposal-optional-chaining": "7.8.3",
|
||||
"@babel/plugin-syntax-dynamic-import": "7.8.3",
|
||||
"@babel/preset-env": "7.6.3",
|
||||
"@babel/preset-react": "7.6.3",
|
||||
"@babel/preset-typescript": "7.6.0",
|
||||
"@babel/preset-typescript": "7.8.3",
|
||||
"@emotion/core": "10.0.10",
|
||||
"@rtsao/plugin-proposal-class-properties": "7.0.1-patch.1",
|
||||
"@testing-library/react-hooks": "^3.2.1",
|
||||
@@ -105,8 +107,6 @@
|
||||
"mocha": "4.1.0",
|
||||
"module-alias": "2.2.0",
|
||||
"monaco-editor": "0.15.6",
|
||||
"ng-annotate-loader": "0.6.1",
|
||||
"ng-annotate-webpack-plugin": "0.3.0",
|
||||
"ngtemplate-loader": "2.0.1",
|
||||
"node-sass": "4.12.0",
|
||||
"npm": "6.13.4",
|
||||
|
||||
Reference in New Issue
Block a user