Skip to content

Commit 7b98c27

Browse files
committed
v0.3.79
1 parent 2a70d3c commit 7b98c27

File tree

3 files changed

+21
-11
lines changed

3 files changed

+21
-11
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vuefront-nuxt",
3-
"version": "0.3.78",
3+
"version": "0.3.79",
44
"description": "vuefront-nuxt",
55
"repository": {
66
"type": "git",
@@ -23,7 +23,7 @@
2323
"dependencies": {
2424
"@nuxtjs/apollo": "^4.0.1-rc.5",
2525
"@nuxtjs/tailwindcss": "^4.2.1",
26-
"@types/node": "^16.4.13",
26+
"@types/node": "^16.6.1",
2727
"cookie-universal-nuxt": "^2.1.5",
2828
"glob-all": "^3.2.1",
2929
"graphql": "^15.5.1",
@@ -33,7 +33,7 @@
3333
"sass-resources-loader": "^2.2.3",
3434
"vue": "^2.6.14",
3535
"vue-graphql-loader": "^0.3.3",
36-
"vue-i18n": "^8.24.5",
36+
"vue-i18n": "^8.25.0",
3737
"vuefront": "^0.3.76"
3838
}
3939
}

src/index.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ module.exports = async function (_moduleOptions) {
207207
}
208208
})
209209

210+
210211
this.options.generate.routes = whiteList
211212
this.options.generate.exclude = exclude
212213

@@ -238,6 +239,15 @@ module.exports = async function (_moduleOptions) {
238239
this.nuxt.hook('render:route', (url, page, { req, res }) => {
239240
page.html = ampify(page.html, url)
240241
})
242+
if (!this.options.build) {
243+
this.options.build = {}
244+
}
245+
if (!this.options.build.transpile) {
246+
this.options.build.transpile = []
247+
}
248+
if (this.options.build && this.options.build.transpile) {
249+
this.options.build.transpile.push('lodash-es')
250+
}
241251

242252
this.nuxt.hook('build:before', () => {
243253
setupBuild.call(this, moduleOptions, themeOptions);

yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1391,10 +1391,10 @@
13911391
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.17.55.tgz#a147f282edec679b894d4694edb5abeb595fecbd"
13921392
integrity sha512-koZJ89uLZufDvToeWO5BrC4CR4OUfHnUz2qoPs/daQH6qq3IN62QFxCTZ+bKaCE0xaoCAJYE4AXre8AbghCrhg==
13931393

1394-
"@types/node@^16.4.13":
1395-
version "16.4.13"
1396-
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.4.13.tgz#7dfd9c14661edc65cccd43a29eb454174642370d"
1397-
integrity sha512-bLL69sKtd25w7p1nvg9pigE4gtKVpGTPojBFLMkGHXuUgap2sLqQt2qUnqmVCDfzGUL0DRNZP+1prIZJbMeAXg==
1394+
"@types/node@^16.6.1":
1395+
version "16.6.1"
1396+
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.6.1.tgz#aee62c7b966f55fc66c7b6dfa1d58db2a616da61"
1397+
integrity sha512-Sr7BhXEAer9xyGuCN3Ek9eg9xPviCF2gfu9kTfuU2HkTVAMYSDeX40fvpmo72n5nansg3nsBjuQBrsS28r+NUw==
13981398

13991399
"@types/normalize-package-data@^2.4.0":
14001400
version "2.4.0"
@@ -7129,10 +7129,10 @@ vue-graphql-loader@^0.3.3:
71297129
graphql-tag "^2.4.2"
71307130
loader-utils "^1.1.0"
71317131

7132-
vue-i18n@^8.24.5:
7133-
version "8.24.5"
7134-
resolved "https://registry.yarnpkg.com/vue-i18n/-/vue-i18n-8.24.5.tgz#7127a666d5be2199be69be39e439a419a90ff931"
7135-
integrity sha512-p8W5xOmniuZ8fj76VXe0vBL3bRWVU87jHuC/v8VwmhKVH2iMQsKnheB1U+umxDBqC/5g9K+NwzokepcLxnBAVQ==
7132+
vue-i18n@^8.25.0:
7133+
version "8.25.0"
7134+
resolved "https://registry.yarnpkg.com/vue-i18n/-/vue-i18n-8.25.0.tgz#1037d9295fa2845a230b771de473481edb2cfc4c"
7135+
integrity sha512-ynhcL+PmTxuuSE1T10htiSXzjBozxYIE3ffbM1RfgAkVbr/v1SP+9Mi/7/uv8ZVV1yGuKjFAYp9BXq+X7op6MQ==
71367136

71377137
vue-image-lightbox@^7.2.0:
71387138
version "7.2.0"

0 commit comments

Comments
 (0)