Skip to content

Commit

Permalink
handle nuxtjs folders arborescence
Browse files Browse the repository at this point in the history
  • Loading branch information
Yimiprod committed May 27, 2019
1 parent 48942dd commit 83fd97f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/vue-i18n-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function runImport () {
}

function runExport (fn) {
glob('src/**/*.vue', (_, files) => {
glob('{src,components,pages}/**/*.vue', (_, files) => {
const out = {}
files.forEach(file => {
const componentAst = compiler.parseComponent(fs.readFileSync(file).toString())
Expand Down

0 comments on commit 83fd97f

Please sign in to comment.