Nuxt/examples/with-tape/test/setup.js
2018-03-16 19:42:06 +03:30

15 lines
336 B
JavaScript

import hooks from 'require-extension-hooks'
// Setup browser environment
require('browser-env')()
// Setup vue files to be processed by `require-extension-hooks-vue`
hooks('vue')
.plugin('vue')
.push()
// Setup vue and js files to be processed by `require-extension-hooks-babel`
hooks(['vue', 'js'])
.plugin('babel')
.push()