mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 10:03:33 +00:00
include sourcemap in vite build
This commit is contained in:
parent
c4b4300845
commit
c20e30e387
3 changed files with 3 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ const config: UserConfig = {
|
|||
rollupOptions: {
|
||||
external: ['source-map-support'],
|
||||
},
|
||||
sourcemap: true,
|
||||
},
|
||||
define: {
|
||||
'import.meta.env.IS_LINUX': JSON.stringify(currentOSEnv === 'linux'),
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ export default defineConfig({
|
|||
entryFileNames: '[name].js',
|
||||
},
|
||||
},
|
||||
sourcemap: true,
|
||||
},
|
||||
plugins: [
|
||||
react(),
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ export default defineConfig({
|
|||
assetFileNames: 'assets/[name].[ext]',
|
||||
},
|
||||
},
|
||||
sourcemap: true,
|
||||
},
|
||||
css: {
|
||||
modules: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue