Skip to content

Commit 60bccff

Browse files
egoisteddyerburgh
authored andcommitted
fix: use the absolute path to babel preset (#12)
1 parent 7071a79 commit 60bccff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/compilers/babel-compiler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const logger = require('../logger')
44
const cache = require('../cache')
55

66
var defaultBabelOptions = {
7-
presets: ['vue-app']
7+
presets: [require.resolve('babel-preset-vue-app')]
88
}
99

1010
function getBabelConfig () {

0 commit comments

Comments
 (0)