Skip to content

Commit b4d3818

Browse files
committed
add buble docs
1 parent 5511363 commit b4d3818

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/en/options.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,18 @@ module.exports = {
111111
- default: `{ img: 'src' }`
112112

113113
During template compilation, the compiler can transform certain attributes, such as `src` URLs, into `require` calls, so that the target asset can be handled by Webpack. The default config transforms the `src` attribute on `<img>` tags.
114+
115+
### buble
116+
117+
- type: `Object`
118+
- default: `{}`
119+
120+
Configure options for `buble-loader` (if present). For example, to enable Object spread operator:
121+
122+
``` js
123+
vue: {
124+
buble: {
125+
objectAssign: 'Object.assign'
126+
}
127+
}
128+
```

0 commit comments

Comments
 (0)