igniteui-live-editing 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -167,7 +167,7 @@ class SampleAssetsGenerator {
167
167
  }
168
168
  resolveRelativePathToGlobalStyles(shortenPath, stylefile) {
169
169
  let shortenPathToRelative = shortenPath.replace(new RegExp(/\//g), " ").trim().split(" ").map(() => "..").join("/") + "/";
170
- let importStatements = stylefile.content.match(new RegExp(/@import ("|')([\.\.]{2}\/){2,}[^;]*/g));
170
+ let importStatements = stylefile.content.match(new RegExp(/@use ("|')([\.\.]{2}\/){2,}[^;]*/g));
171
171
  if (importStatements === null || importStatements === void 0 ? void 0 : importStatements.length) {
172
172
  importStatements.forEach(s => {
173
173
  let newRel = s.replace(shortenPathToRelative, "");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-live-editing",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "This feature helps us to provide each sample as a separate application to external consumers.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",