Comments (6)
准备以什么作为version呢
from rocketact.
准备以什么作为version呢
是 PLUS 业务他们的场景,不用 hash,全用 jdf 那种打包后的路径作为上线产物,我今天想了想直接做成一个插件,不用小火箭本身提供该功能。
https://www.npmjs.com/package/rocketact-plugin-bundle-with-version
另外还写了一个 他们要用的 banner plugin 的,都差不多
https://www.npmjs.com/package/rocketact-plugin-bundle-with-banner
from rocketact.
准备以什么作为version呢
就以 package.json
中的 version
字段打包,bundle 时追加在 publicPath 后。
from rocketact.
准备以什么作为version呢
就以
package.json
中的version
字段打包,bundle 时追加在 publicPath 后。
然后把文件名中的hash去掉么?怎么保证 manifest,vendor和app 三个js的一致性呢,
from rocketact.
准备以什么作为version呢
就以
package.json
中的version
字段打包,bundle 时追加在 publicPath 后。然后把文件名中的hash去掉么?怎么保证 manifest,vendor和app 三个js的一致性呢,
哈哈,不用保证 manifest, verdor, app 的一致性,他们的需求是每次都更新版本号,打包出来的新版本路径下文件全量上线。
from rocketact.
通过插件解决 https://www.npmjs.com/package/rocketact-plugin-bundle-with-version
from rocketact.
Related Issues (20)
- Uncaught ReferenceError: React is not defined
- [Feature Request] 支持配置指定node_modules下的目录参与编译流程
- [Feature Request] 开发环境中更好的处理文件删除
- [讨论] ProxyConfig 当时为什么在保存时去除了 enable ?以及设置 enable 时为什么没有同步保存到本地? HOT 4
- [Feature Request] 依赖展示页加载顺序优化
- [Bug] Build 过程如果项目中无 tslint 配置,没有必要启动 tschecker
- [Feature Request] ESLint 相关升级
- [Feature Request] 多页面入口支持 `pages` 下更沉一层文件夹 HOT 4
- [Feature Request] extend custom config of inner webpack-dev-server
- [Feature Request] css modules support localidentname HOT 1
- [Feature Request] upgrade html-webpack-plugin to v4.x
- How to use BrowserRouter HOT 1
- [Feature Request] template eslint default config supports hooks check
- [Bug] 完善单元测试,解决CI单元测试错误
- [Feature Request] 支持自定义初始化模板
- [Bug] heap out of memory in node 10.x when webpack's devtool configed `cheap-module-source-map` HOT 1
- [Feature Request]项目需求:多页面打开页面,支持 URL 不带有 *.html 后缀
- [Feature Request]esbuild or snowpack or other HOT 3
- [Feature Request] react-refresh support HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rocketact.