Compare commits

...

3 Commits

Author SHA1 Message Date
chenjiahan
86c0910c38 docs(changelog): 3.3.6 2021-12-05 11:48:00 +08:00
chenjiahan
c60f53194d release: 3.3.6 2021-12-05 11:39:22 +08:00
neverland
7bc6d2c48d
fix(@vant/cli): fix ssr.js require path (#9999) 2021-12-05 11:34:54 +08:00
4 changed files with 19 additions and 3 deletions

View File

@ -14,9 +14,9 @@ async function genEntryForSSR() {
const cjsContent = `'use strict';
if (process.env.NODE_ENV === 'production') {
module.exports = require('./dist/${name}.cjs.min.js');
module.exports = require('./${name}.cjs.min.js');
} else {
module.exports = require('./dist/${name}.cjs.js');
module.exports = require('./${name}.cjs.js');
};
`;

View File

@ -16,6 +16,14 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/).
## Details
### [v3.3.6](https://github.com/compare/v3.3.5...v3.3.6)
`2021-12-05`
**Bug Fixes**
- fix ssr.js require path [#9999](https://github.com/youzan/vant/issues/9999)
### [v3.3.5](https://github.com/compare/v3.3.4...v3.3.5)
`2021-12-02`

View File

@ -16,6 +16,14 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
## 更新内容
### [v3.3.6](https://github.com/compare/v3.3.5...v3.3.6)
`2021-12-05`
**Bug Fixes**
- 修复 ssr.js 文件引用路径错误的问题 [#9999](https://github.com/youzan/vant/issues/9999)
### [v3.3.5](https://github.com/compare/v3.3.4...v3.3.5)
`2021-12-02`

View File

@ -1,6 +1,6 @@
{
"name": "vant",
"version": "3.3.5",
"version": "3.3.6",
"description": "Mobile UI Components built on Vue",
"main": "lib/vant.cjs.js",
"module": "lib/vant.es.js",