From 9cdbc0d1e3e9486b1ad27c63ab28afbc78d3ba74 Mon Sep 17 00:00:00 2001 From: Ivan Krutov Date: Tue, 27 Jul 2021 12:15:27 +0300 Subject: [PATCH] Correct prefix in CSS --- webpack.dev.js | 2 +- webpack.prod.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webpack.dev.js b/webpack.dev.js index 34ed2c1..ff1b30f 100644 --- a/webpack.dev.js +++ b/webpack.dev.js @@ -24,7 +24,7 @@ module.exports = merge(common, { { loader: "sass-loader", options: { - additionalData: "$prefix: \"" + (process.env.NODE_ENV === "production" ? "/moon" : "") + "\";" + additionalData: "$prefix: \"" + (process.env.NODE_ENV === "production" ? "/moon-cloud" : "") + "\";" } }] } diff --git a/webpack.prod.js b/webpack.prod.js index 381e0bb..67655ba 100644 --- a/webpack.prod.js +++ b/webpack.prod.js @@ -24,7 +24,7 @@ module.exports = merge(common, { { loader: "sass-loader", options: { - additionalData: "$prefix: \"" + (process.env.NODE_ENV === "production" ? "/moon" : "") + "\";" + additionalData: "$prefix: \"" + (process.env.NODE_ENV === "production" ? "/moon-cloud" : "") + "\";" } }] }