From 74929343a04c4c3fb5d8fad76c6a06b4db5d9820 Mon Sep 17 00:00:00 2001 From: Travis Fischer Date: Mon, 17 Dec 2018 04:22:19 -0500 Subject: [PATCH] Merge pull request #112 from adekbadek/fix-svg-import fixes SVG import --- .../create-freesewing-pattern/template/default/rollup.config.js | 2 +- .../template/typescript/rollup.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/create-freesewing-pattern/template/default/rollup.config.js b/packages/create-freesewing-pattern/template/default/rollup.config.js index 0cc9ef36016..d41aae3286c 100644 --- a/packages/create-freesewing-pattern/template/default/rollup.config.js +++ b/packages/create-freesewing-pattern/template/default/rollup.config.js @@ -27,7 +27,7 @@ export default { postcss({ modules: true }), - url(), + url({ exclude: ['**/*.svg'] }), svgr(), babel({ exclude: 'node_modules/**', diff --git a/packages/create-freesewing-pattern/template/typescript/rollup.config.js b/packages/create-freesewing-pattern/template/typescript/rollup.config.js index 6aa90fd92cc..b34f27cf6e9 100644 --- a/packages/create-freesewing-pattern/template/typescript/rollup.config.js +++ b/packages/create-freesewing-pattern/template/typescript/rollup.config.js @@ -30,7 +30,7 @@ export default { postcss({ modules: true }), - url(), + url({ exclude: ['**/*.svg'] }), svgr(), resolve(), typescript({