Minor Changes
-
BREAKING CHANGE:
createAssetServer()now requires abasePathoption, andfileMapURL patterns are now relative to that base path.// Before: createAssetServer({ fileMap: { '/assets/app/*path': 'app/*path', '/assets/npm/*path': 'node_modules/*path', }, allow: ['app/**', 'node_modules/**'], }) // After: createAssetServer({ basePath: '/assets', fileMap: { '/app/*path': 'app/*path', '/npm/*path': 'node_modules/*path', }, allow: ['app/**', 'node_modules/**'], })
Patch Changes
- The
@oxc-project/runtimepackage which provides helpers for generated code targeting older browsers is now served automatically by the asset server and doesn't need to be manually installed.