@sprucelabs/babel-plugin-schema
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -27,5 +27,5 @@ "use strict"; | ||
let found = false; | ||
contents = `${contents}`.replace(/"#spruce\/(.*?)"/gi, (match) => { | ||
contents = `${contents}`.replace(/['"]#spruce\/(.*?)['"]/gi, (match) => { | ||
found = true; | ||
const search = match.replace(/"/g, ''); | ||
const search = match.replace(/["']/g, ''); | ||
let resolved; | ||
@@ -32,0 +32,0 @@ if (outResolver) { |
@@ -0,1 +1,3 @@ | ||
## [1.1.4](https://github.com/sprucelabsai/babel-plugin-schema/compare/v1.1.3...v1.1.4) (2020-08-13) | ||
## [1.1.3](https://github.com/sprucelabsai/babel-plugin-schema/compare/v1.1.2...v1.1.3) (2020-08-13) | ||
@@ -2,0 +4,0 @@ |
{ | ||
"name": "@sprucelabs/babel-plugin-schema", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "Builds @sprucelabs/schema and generates static paths to #spruce directories.", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -44,5 +44,5 @@ import fs from 'fs' | ||
contents = `${contents}`.replace(/"#spruce\/(.*?)"/gi, (match) => { | ||
contents = `${contents}`.replace(/['"]#spruce\/(.*?)['"]/gi, (match) => { | ||
found = true | ||
const search = match.replace(/"/g, '') | ||
const search = match.replace(/["']/g, '') | ||
let resolved: string | undefined | ||
@@ -49,0 +49,0 @@ |
Sorry, the diff of this file is not supported yet
40024