diff --git a/index.js b/index.js index 9c0ce4a..1fd1fd7 100644 --- a/index.js +++ b/index.js @@ -3,6 +3,7 @@ const rtlcss = require('rtlcss'); const cssDiff = require('@romainberger/css-diff'); const cssnano = require('cssnano'); const { ConcatSource } = require('webpack-sources'); +const path = require('path'); class RTLCSSPlugin { constructor(options) { diff --git a/package-lock.json b/package-lock.json index da592dd..d2a471b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "rtlcss-laravel-mix", + "name": "rtlcss-webpack-mix-plugin", "version": "1.0.0", "lockfileVersion": 1, "requires": true, @@ -592,6 +592,11 @@ "resolved": "https://registry.npmjs.org/indexes-of/-/indexes-of-1.0.1.tgz", "integrity": "sha1-8w9xbI4r00bHtn0985FVZqfAVgc=" }, + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" + }, "is-absolute-url": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-absolute-url/-/is-absolute-url-2.1.0.tgz", @@ -814,6 +819,15 @@ "json-parse-better-errors": "^1.0.1" } }, + "path": { + "version": "0.12.7", + "resolved": "https://registry.npmjs.org/path/-/path-0.12.7.tgz", + "integrity": "sha1-1NwqUGxM4hl+tIHr/NWzbAFAsQ8=", + "requires": { + "process": "^0.11.1", + "util": "^0.10.3" + } + }, "path-exists": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", @@ -1803,6 +1817,11 @@ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz", "integrity": "sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ==" }, + "process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=" + }, "q": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", @@ -2041,6 +2060,14 @@ "resolved": "https://registry.npmjs.org/unquote/-/unquote-1.1.1.tgz", "integrity": "sha1-j97XMk7G6IoP+LkF58CYzcCG1UQ=" }, + "util": { + "version": "0.10.4", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.4.tgz", + "integrity": "sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==", + "requires": { + "inherits": "2.0.3" + } + }, "util.promisify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.1.tgz", diff --git a/package.json b/package.json index d86880e..00027af 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rtlcss-webpack-mix-plugin", - "version": "1.0.0", + "version": "1.0.1", "description": "RTLCSS plugin for webpack mix", "main": "index.js", "scripts": { @@ -20,6 +20,7 @@ "@romainberger/css-diff": "^1.0.3", "async": "^3.2.0", "cssnano": "^4.1.10", + "path": "^0.12.7", "rtlcss": "^2.5.0", "webpack-sources": "^1.4.3" },