rollup-plugin-serve
rollup-plugin-serve copied to clipboard
Serve your rolled up bundle like webpack-dev-server
Would you be able to let us know what changed please and possibly add to the changelog?
有跨域的配置吗
var lite = require('mime/lite'); ^ Error [ERR_REQUIRE_ESM]: require() of ES Module /root/workspace/node16-pnpm8-build/repo/node_modules/.pnpm/[email protected]/node_modules/mime/dist/src/index_lite.js from /root/workspace/node16-pnpm8-build/repo/node_modules/.pnpm/[email protected]/node_modules/rollup-plugin-serve/dist/index.cjs not supported. Instead change the require of index_lite.js in /root/workspace/node16-pnpm8-build/repo/node_modules/.pnpm/[email protected]/node_modules/rollup-plugin-serve/dist/index.cjs to a dynamic import() which is...
proxy integrated from https://npm.io/package/rollup-plugin-serve-proxy reason for integration: source code for https://npm.io/package/rollup-plugin-serve-proxy is no longer available in github and was recovered from npm distribution.
My HTML (generated by the official HTML plugin): ```html Rollup Bundle ``` My `main.js`: ```js const x = 1; console.log(x + 2); //# sourceMappingURL=main.js.map ``` The contents of the file...
* Add the option to specify a `contentBasePublicPath` which prepends the asset path to serve. * Updated the docs to detail the new param. * Added additional tests to cover...
- compress - proxy - before - after - historyApiFallback (object format) - serveIndex - headers The end goal is to make sure it can run `react-scripts` config (almost) unmodified
So rollup config looks like this: ``` htmlTemplate({ template: 'src/index.html', target: 'index.html' }), htmlTemplate({ template: 'src/learn.html', target: 'learn.html' }), ``` an inside `index.html` I have this link: `````` when navigated...
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. Release notes Sourced from json5's releases. v1.0.2 Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a...
Can you add caching for static files, seems that this module https://github.com/isaacs/st wil be easy to integrate.