Releases: jackmellis/require-extension-hooks-vue
Releases · jackmellis/require-extension-hooks-vue
2.0.0
1.1.0
1.0.0
- Register - lets you register this hook by simply requiring a file i.e.
mocha --require require-extension-hooks-vue/register
- Source Map support for error stack traces
0.4.2
- Non-self-closing external script tags (i.e.
<script src="foo"></script>
) failed to load
0.4.1
0.4.0
- Added a configuration option to transpile non-html templates (true by default). This allows you to disable the default behaviour in favour of adding custom hooks.
hooks('vue').plugin('vue', { transpileTemplates : false }); hooks('pug').push(...)
15 - Support for alternate script languages (i.e. where
<script lang="ts">
). When lang is set, it will look for a hook with the same extension.13
0.3.0
- Automatically parse templates based on their lang attribute
- Load templates and scripts from external sources
- Used vue-template-compiler's parseComponent method instead of manually extracting file content