flowchart TD
subgraph script
ts
tsx
end
subgraph stylesheet
scss
end
subgraph webpack
script --> babel-loader --> .dist/bundle.js
stylesheet --> sass-loader --> postcss-loader --> css-loader --> mini-extract-css-loader --> .dist/main.css
end
.dist/bundle.js --> html
.dist/main.css --> html
subgraph html
script-tag
link-tag
end
html --> browser --> client
Dependency | Version |
---|---|
node | v18.17 or higher |
npm | v9.6.7 or higher |
git clone
npm install
Development watch mode would be run on https://localhost:3000
npm run dev
npm run build:dev
npm run build:prod
npm run storybook