From 541f4ccc1b532b353fba4a3300928ec791753ccd Mon Sep 17 00:00:00 2001 From: Rich-Harris Date: Fri, 25 Nov 2016 17:26:45 -0500 Subject: [PATCH] -> v0.2.1 --- CHANGELOG.md | 4 ++++ package.json | 3 ++- rollup.config.js | 9 ++++++++- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c2c599ca57..8944020341 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Svelte changelog +## 0.2.1 + +* Transpile build + ## 0.2.0 * Only generate UMD build, for now diff --git a/package.json b/package.json index 996bfbead8..59adf37ec9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "svelte", - "version": "0.2.0", + "version": "0.2.1", "description": "The magical disappearing UI framework", "main": "dist/svelte.js", "files": [ @@ -50,6 +50,7 @@ "nyc": "^9.0.1", "reify": "^0.4.0", "rollup": "^0.36.3", + "rollup-plugin-buble": "^0.14.0", "rollup-plugin-node-resolve": "^2.0.0" }, "nyc": { diff --git a/rollup.config.js b/rollup.config.js index 93b495980e..5f436672c8 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,4 +1,5 @@ import nodeResolve from 'rollup-plugin-node-resolve'; +import buble from 'rollup-plugin-buble'; export default { entry: 'compiler/index.js', @@ -7,6 +8,12 @@ export default { { dest: 'dist/svelte.js', format: 'umd' } ], plugins: [ - nodeResolve({ jsnext: true, module: true }) + nodeResolve({ jsnext: true, module: true }), + buble({ + transforms: { + dangerousForOf: true, + dangerousTaggedTemplateString: true + } + }) ] };