File tree Expand file tree Collapse file tree 1 file changed +21
-21
lines changed
Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Original file line number Diff line number Diff line change 1- import { resolve } from " path"
2- import { defineConfig } from " vite"
3- import { codecovVitePlugin } from " @codecov/vite-plugin"
1+ import { resolve } from ' path'
2+ import { defineConfig } from ' vite'
3+ import { codecovVitePlugin } from ' @codecov/vite-plugin'
44
55export default defineConfig ( {
6- build : {
7- lib : {
8- entry : resolve ( __dirname , " src/index.js" ) ,
9- formats : [ 'es' ]
10- } ,
11- rollupOptions : {
12- // make sure to externalize deps that shouldn't be bundled
13- // into your library
14- external : [ 'css-tree ' ] ,
15- } ,
16- } ,
17- plugins : [
18- codecovVitePlugin ( {
19- enableBundleAnalysis : process . env . CODECOV_TOKEN !== undefined ,
20- bundleName : " cssLayerTree" ,
21- uploadToken : process . env . CODECOV_TOKEN ,
22- } ) ,
23- ] ,
6+ build : {
7+ lib : {
8+ entry : resolve ( __dirname , ' src/index.js' ) ,
9+ formats : [ 'es' ] ,
10+ } ,
11+ rollupOptions : {
12+ // make sure to externalize deps that shouldn't be bundled
13+ // into your library
14+ external : [ '@projectwallace/ css-parser ' ] ,
15+ } ,
16+ } ,
17+ plugins : [
18+ codecovVitePlugin ( {
19+ enableBundleAnalysis : process . env . CODECOV_TOKEN !== undefined ,
20+ bundleName : ' cssLayerTree' ,
21+ uploadToken : process . env . CODECOV_TOKEN ,
22+ } ) ,
23+ ] ,
2424} )
You can’t perform that action at this time.
0 commit comments