Use typescript for webpack config (#32507)
* Move declaration.d.ts to @types Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Load customisations.json without `require` Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Remove webpack rule from when we were consuming shared-components ts vs js Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Avoid hardcoding paths to modules in webpack config Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Convert webpack config to typescript Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Stub js webpack/postcss plugins Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Patch broken rollup types until https://github.com/getsentry/sentry-javascript-bundler-plugins/pull/870 is released Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Install @types/postcss-import Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix fdir relying on @types/picomatch Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update pnpm-lock.yaml Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
committed by
GitHub
parent
d0b53a6a6c
commit
be843c4baa
@@ -30,7 +30,7 @@
|
||||
"outputs": ["{projectRoot}/res/css/_components.pcss"]
|
||||
},
|
||||
"build": {
|
||||
"command": "webpack-cli --progress --mode production",
|
||||
"command": "webpack-cli --disable-interpret --progress --mode production",
|
||||
"outputs": ["{projectRoot}/webapp"]
|
||||
},
|
||||
"start:i18n": {
|
||||
@@ -39,7 +39,7 @@
|
||||
"continuous": true
|
||||
},
|
||||
"start": {
|
||||
"command": "webpack-dev-server --output-path webapp --output-filename=bundles/_dev_/[name].js --output-chunk-filename=bundles/_dev_/[name].js --mode development",
|
||||
"command": "webpack-dev-server --disable-interpret --output-path webapp --output-filename=bundles/_dev_/[name].js --output-chunk-filename=bundles/_dev_/[name].js --mode development",
|
||||
"dependsOn": ["prebuild:*", "start:i18n", "^start"],
|
||||
"continuous": true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user