1 | # Change Log
|
2 |
|
3 | ## 1.1.0
|
4 | - Components without a `<script>` are now imported and treated as functional components [#29](https://github.com/jackmellis/require-extension-hooks-vue/issues/29)
|
5 | - Support for custom code blocks [#31](https://github.com/jackmellis/require-extension-hooks-vue/pull/31)
|
6 |
|
7 | ## 1.0.1
|
8 | - Don't mutate the defualt config object [#28](https://github.com/jackmellis/require-extension-hooks-vue/pull/28)
|
9 |
|
10 | ## 1.0.0
|
11 | - Register - lets you register this hook by simply requiring a file i.e. `mocha --require require-extension-hooks-vue/register`
|
12 | - Source Map support for error stack traces
|
13 |
|
14 | ## 0.4.2
|
15 | - Non-self-closing external script tags (i.e. `<script src="foo"></script>`) failed to load
|
16 |
|
17 | ## 0.4.1
|
18 | - Support for css modules [18](https://github.com/jackmellis/require-extension-hooks-vue/issues/18)
|
19 |
|
20 | ## 0.4.0
|
21 | - 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](https://github.com/jackmellis/require-extension-hooks-vue/issues/15)
|
22 | - 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.
|
23 |
|
24 | ## 0.3.0
|
25 | - Automatically parse templates based on their lang attribute [11](https://github.com/jackmellis/require-extension-hooks-vue/issues/11)
|
26 | - Load templates and scripts from external sources [9](https://github.com/jackmellis/require-extension-hooks-vue/issues/9)
|
27 | - Used vue-template-compiler's parseComponent method instead of manually extracting file content [7](https://github.com/jackmellis/require-extension-hooks-vue/issues/7)
|
28 |
|
29 | ## 0.2.2
|
30 | - Added ability to require vue components that export using `export default Vue.extend({})`
|
31 |
|
32 | ## 0.2.1
|
33 | - Separated render function from the export function to avoid semi-colon issues.
|