Skip to content
This repository has been archived by the owner on Mar 18, 2023. It is now read-only.

init is always null in __svg__ variable declaration #144

Open
maqduni opened this issue Jun 10, 2017 · 1 comment
Open

init is always null in __svg__ variable declaration #144

maqduni opened this issue Jun 10, 2017 · 1 comment

Comments

@maqduni
Copy link

maqduni commented Jun 10, 2017

Somehow svg doesn't get assigned evaluated expression values. createTaskContext fails on

expr.init.properties.forEach(function (prop) {
      switch (prop.key.name) {
        case 'name':
          data.fileName = prop.value.value;
          break;
        case 'path':
          data.path = prop.value.value;
          break;
        default:
          break;
      }
    });

Am I doing something wrong, or it's just an error?

@DavidKk
Copy link

DavidKk commented Oct 9, 2017

Me too...

image

image

This error occurs when I use webpack-svgstore-plugin and istanbul-instrumenter-loader . Now I can only exclude svgstore.config.js

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants