Browse Source

chdir removed

master
Ivan Polyakov 2 years ago
parent
commit
1c62a5ee43
  1. 1
      loader.js
  2. 2
      package.json

1
loader.js

@ -32,7 +32,6 @@ module.exports = function(content, map, meta) {
if (options.expr) if (options.expr)
expr = options.expr; expr = options.expr;
expr = expr.replace('SXML_LOADER_CONTENT', content); expr = expr.replace('SXML_LOADER_CONTENT', content);
chdir(this.rootContext);
const cb = this.async(); const cb = this.async();
runScheme('guile', ['-c', expr]).then(data => { runScheme('guile', ['-c', expr]).then(data => {

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "sxml-loader", "name": "sxml-loader",
"version": "0.3.1", "version": "0.3.2",
"description": "Scheme XML loader for webpack", "description": "Scheme XML loader for webpack",
"main": "loader.js", "main": "loader.js",
"bugs": "http://git.vilor.one/vilor/sxml-loader/issues", "bugs": "http://git.vilor.one/vilor/sxml-loader/issues",

Loading…
Cancel
Save