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

15 lines
341 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')
2017-10-31 13:43:55 +00:00
.plugin('vue')
.push()
2017-10-20 12:31:29 +00:00
// Setup vue and js files to be processed by `require-extension-hooks-babel`
hooks(['vue', 'js'])
2017-10-31 13:43:55 +00:00
.plugin('babel')
.push()