Skip to content

Instantly share code, notes, and snippets.

@eddyerburgh
Created September 23, 2017 18:33
Show Gist options
  • Select an option

  • Save eddyerburgh/b9942c7cdb873c60f3a378ef93c890b8 to your computer and use it in GitHub Desktop.

Select an option

Save eddyerburgh/b9942c7cdb873c60f3a378ef93c890b8 to your computer and use it in GitHub Desktop.
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()
@kaisinger30
Copy link

i dont understand

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment