File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import * as path from 'path'
21import { defineConfig } from 'vite'
32import react from '@vitejs/plugin-react'
4- import rollupReplace from '@rollup/plugin-replace'
53
64// https://vitejs.dev/config/
75export default defineConfig ( {
8- plugins : [
9- rollupReplace ( {
10- preventAssignment : true ,
11- values : {
12- __DEV__ : JSON . stringify ( true ) ,
13- 'process.env.NODE_ENV' : JSON . stringify ( 'development' ) ,
14- } ,
15- } ) ,
16- react ( ) ,
17- ] ,
6+ plugins : [ react ( ) ]
187} )
Original file line number Diff line number Diff line change 1- import * as path from 'path'
21import { defineConfig } from 'vite'
32import react from '@vitejs/plugin-react'
4- import rollupReplace from '@rollup/plugin-replace'
53
64// https://vitejs.dev/config/
75export default defineConfig ( {
8- plugins : [
9- rollupReplace ( {
10- preventAssignment : true ,
11- values : {
12- __DEV__ : JSON . stringify ( true ) ,
13- 'process.env.NODE_ENV' : JSON . stringify ( 'development' ) ,
14- } ,
15- } ) ,
16- react ( ) ,
17- ] ,
6+ plugins : [ react ( ) ]
187} )
Original file line number Diff line number Diff line change 1- import * as path from 'path'
21import { defineConfig } from 'vite'
32import react from '@vitejs/plugin-react'
4- import rollupReplace from '@rollup/plugin-replace'
53
64// https://vitejs.dev/config/
75export default defineConfig ( {
8- plugins : [
9- rollupReplace ( {
10- preventAssignment : true ,
11- values : {
12- __DEV__ : JSON . stringify ( true ) ,
13- 'process.env.NODE_ENV' : JSON . stringify ( 'development' ) ,
14- } ,
15- } ) ,
16- react ( ) ,
17- ] ,
6+ plugins : [ react ( ) ]
187} )
Original file line number Diff line number Diff line change 1- import * as path from 'path'
21import { defineConfig } from 'vite'
32import react from '@vitejs/plugin-react'
4- import rollupReplace from '@rollup/plugin-replace'
53
64// https://vitejs.dev/config/
75export default defineConfig ( {
8- plugins : [
9- rollupReplace ( {
10- preventAssignment : true ,
11- values : {
12- __DEV__ : JSON . stringify ( true ) ,
13- 'process.env.NODE_ENV' : JSON . stringify ( 'development' ) ,
14- } ,
15- } ) ,
16- react ( ) ,
17- ] ,
6+ plugins : [ react ( ) ]
187} )
Original file line number Diff line number Diff line change 1- import * as path from 'path'
21import { defineConfig } from 'vite'
32import react from '@vitejs/plugin-react'
4- import rollupReplace from '@rollup/plugin-replace'
53
64// https://vitejs.dev/config/
75export default defineConfig ( {
8- plugins : [
9- rollupReplace ( {
10- preventAssignment : true ,
11- values : {
12- __DEV__ : JSON . stringify ( true ) ,
13- 'process.env.NODE_ENV' : JSON . stringify ( 'development' ) ,
14- } ,
15- } ) ,
16- react ( ) ,
17- ] ,
6+ plugins : [ react ( ) ]
187} )
You can’t perform that action at this time.
0 commit comments