Nuxt/examples/with-tape/test/setup.js

15 lines
337 B
JavaScript
Raw Normal View History

2017-10-20 12:31:29 +00:00
const hooks = require('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()