crude-build
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -155,5 +155,5 @@ | ||
// Extract externs in format "import Quaternion from quaternion;" | ||
// Extract externs in format "import Quaternion from 'quaternion';" | ||
const externs = []; | ||
sourceCode = sourceCode.replace(/\s*import\s*([a-z0-9.-]+)\s*from\s*([a-z0-9.-]+)\s*;?/ig, function (_, name, inc) { | ||
sourceCode = sourceCode.replace(/\s*import\s*([a-z0-9.-]+)\s*from\s*["']([a-z0-9.-]+)["']\s*;?/ig, function (_, name, inc) { | ||
externs.push({ name, inc }); | ||
@@ -160,0 +160,0 @@ return ''; |
{ | ||
"name": "crude-build", | ||
"title": "Crude Build", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"homepage": "https://github.com/rawify/CrudeBuild.js", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/rawify/CrudeBuild.js/issues", |
9802