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

15 lines
336 B
JavaScript
Raw Normal View History

2018-03-16 16:12:06 +00:00
import hooks from 'require-extension-hooks'
2017-10-20 12:31:29 +00:00
// 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()