0.35.1 • Published 10 months ago
@botonic/dx-bundler-rspack v0.35.1
Botonic bundler Rspack
What Does This Package Do?
This package simplifies the configuration of a rspack bundler to build a Botonic project.
IMPORTANT
- Webviews imported inside the webviews/index.ts must be classes or functions but cannot be arrow functions.
Do:
export function MyWebview() {}instead of:
export const MyWebview = () => {}Setup
- Install this package.
npm install -D @botonic/dx-bundler-rspackCopy
baseline/rspack.config.jsfile to the root of your project.Add this script to your package.json to build for production and start for development in local.
"scipts": {
"build_production": "ENVIRONMENT=production NODE_ENV=production rspack build --env target=all --mode=production",
"start": "ENVIRONMENT=local NODE_ENV=development rspack serve --env target=dev --mode=development",
}0.35.1
10 months ago
0.35.0
10 months ago
0.34.0
11 months ago
0.33.0
1 year ago
0.32.0
1 year ago
0.31.0
1 year ago
0.31.0-alpha.0
1 year ago
0.30.0-alpha.4
1 year ago
0.30.0-alpha.3
1 year ago
0.30.0-alpha.2
1 year ago
0.30.0-alpha.1
1 year ago
0.30.0-alpha.0
1 year ago