@linaria/shaker
Advanced tools
Comparing version 5.0.2 to 5.0.3
@@ -25,3 +25,3 @@ import { join } from 'path'; | ||
presets, | ||
sourceType: /(?:^|\*\/|;)\s*(?:export|import)\s/m.test(formattedCode) ? 'module' : 'script', | ||
sourceType: /(?:^|\*\/|;|})\s*(?:export|import)\s/m.test(formattedCode) ? 'module' : 'script', | ||
plugins: [[shakerPlugin, { | ||
@@ -28,0 +28,0 @@ onlyExports: only |
@@ -28,3 +28,3 @@ "use strict"; | ||
presets, | ||
sourceType: /(?:^|\*\/|;)\s*(?:export|import)\s/m.test(formattedCode) ? 'module' : 'script', | ||
sourceType: /(?:^|\*\/|;|})\s*(?:export|import)\s/m.test(formattedCode) ? 'module' : 'script', | ||
plugins: [[_shakerPlugin.default, { | ||
@@ -31,0 +31,0 @@ onlyExports: only |
{ | ||
"name": "@linaria/shaker", | ||
"version": "5.0.2", | ||
"version": "5.0.3", | ||
"description": "Blazing fast zero-runtime CSS in JS library", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
174967