File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1616 "import" : " ./lib/index.es.min.js" ,
1717 "require" : " ./lib/index.umd.min.js"
1818 },
19+ "./global.css" : " ./lib/global.css" ,
1920 "./hyperparam.css" : " ./lib/hyperparam.css"
2021 },
2122 "bin" : {
2930 ],
3031 "scripts" : {
3132 "build:types" : " tsc -b" ,
32- "build:lib" : " vite build -c vite.lib.config.ts" ,
33+ "build:lib" : " vite build -c vite.lib.config.ts && cp src/styles/global.css lib/global.css " ,
3334 "build:app" : " vite build" ,
3435 "build" : " run-s build:lib build:types build:app" ,
3536 "coverage" : " vitest run --coverage --coverage.include=src --coverage.include=bin" ,
Original file line number Diff line number Diff line change 11import { StrictMode } from 'react'
22import { createRoot } from 'react-dom/client'
33import App from './components/App.js'
4- import './styles/app .css'
4+ import './styles/global .css'
55
66const root = document . getElementById ( 'app' )
77if ( ! root ) throw new Error ( 'missing root element' )
File renamed without changes.
You can’t perform that action at this time.
0 commit comments