File tree Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import { environments } from "@dzcode.io/utils/dist/config/environment";
2
2
import { defineConfig } from "@rsbuild/core" ;
3
3
import { pluginReact } from "@rsbuild/plugin-react" ;
4
4
import { readFileSync } from "fs" ;
5
- import FaroSourceMapUploaderPlugin from "@grafana/faro-webpack-plugin" ;
6
5
7
6
let stage = process . env . STAGE ;
8
7
22
21
23
22
export default defineConfig ( {
24
23
plugins : [ pluginReact ( ) ] ,
25
- tools : {
26
- webpack : {
27
- plugins : [
28
- new FaroSourceMapUploaderPlugin ( {
29
- appName : "dzcode" ,
30
- endpoint : "https://faro-api-prod-eu-west-2.grafana.net/faro/api/v1" ,
31
- appId : "2897" ,
32
- stackId : "1236993" ,
33
- apiKey : process . env . GRAFANA_SOURCEMAP_TOKEN ! ,
34
- gzipContents : true ,
35
- } ) ,
36
- ] ,
37
- } ,
38
- } ,
39
24
source : {
40
25
alias : {
41
26
src : "./src" ,
@@ -67,5 +52,9 @@ export default defineConfig({
67
52
svg : `w/${ bundleInfo . version } /svg` ,
68
53
wasm : `w/${ bundleInfo . version } /wasm` ,
69
54
} ,
55
+ sourceMap : {
56
+ js : "source-map" ,
57
+ css : true ,
58
+ } ,
70
59
} ,
71
60
} ) ;
You can’t perform that action at this time.
0 commit comments