From 89a1cab4c1141e300bfb22e22b6b50d769b0660a Mon Sep 17 00:00:00 2001 From: Rish Date: Mon, 20 Apr 2020 11:57:08 +0530 Subject: [PATCH] Fixed lint for webpack config no issue --- ghost/portal/webpack.config.js | 36 +++++++++++++++++----------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/ghost/portal/webpack.config.js b/ghost/portal/webpack.config.js index 45b26d5fd9..b0f20c0c65 100644 --- a/ghost/portal/webpack.config.js +++ b/ghost/portal/webpack.config.js @@ -1,20 +1,20 @@ -const path = require("path") -const glob = require("glob") +const path = require('path'); +const glob = require('glob'); module.exports = { - entry: { - "bundle.js": glob.sync("build/static/?(js|css)/main.*.?(js|css)").map(f => path.resolve(__dirname, f)), - }, - output: { - filename: "build/static/js/bundle.min.js", - }, - module: { - rules: [ - { - test: /\.css$/, - use: ["style-loader", "css-loader"], - }, - ], - }, - plugins: [], -} \ No newline at end of file + entry: { + 'bundle.js': glob.sync('build/static/?(js|css)/main.*.?(js|css)').map(f => path.resolve(__dirname, f)) + }, + output: { + filename: 'build/static/js/bundle.min.js' + }, + module: { + rules: [ + { + test: /\.css$/, + use: ['style-loader', 'css-loader'] + } + ] + }, + plugins: [] +}; \ No newline at end of file