diff --git a/index.js b/index.js index 6ffe79c..ee8bfff 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,4 @@ -// Generated by LiveScript 1.4.0 +// Generated by LiveScript 1.5.0 var LiveScript, LoaderUtils; LiveScript = require('livescript'); LoaderUtils = require('loader-utils'); @@ -17,7 +17,7 @@ module.exports = function(source){ 'const': false, header: false }; - query = LoaderUtils.parseQuery(this.query); + query = LoaderUtils.getOptions(this); import$(config, query); result = LiveScript.compile(source, config); if (config.map === 'none') { diff --git a/index.ls b/index.ls index 9ebe460..eaa8ebe 100644 --- a/index.ls +++ b/index.ls @@ -16,7 +16,7 @@ module.exports = (source) !-> const: false header: false - query = LoaderUtils.parse-query this.query + query = LoaderUtils.getOptions this config <<< query result = LiveScript.compile source, config diff --git a/package.json b/package.json index e99cf1c..a1db643 100644 --- a/package.json +++ b/package.json @@ -7,11 +7,11 @@ "build": "lsc -cb ./index.ls" }, "dependencies": { - "livescript": "^1.4.0", - "loader-utils": "0.2.x" + "livescript": "^1.6.0", + "loader-utils": "1.2.x" }, "repository": { "type": "git", - "url": "git://github.com/appedemic/livescript-loader.git" + "url": "git://github.com/godmodelabs/livescript-loader.git" } }