From 041eacf4fbea1486b00c196343bbbe2df4f0970b Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Tue, 29 Aug 2017 21:20:42 +0900 Subject: [PATCH] rename command-line files --- src/command-line/{index.html => command-line.html} | 0 src/command-line/{index.js => command-line.js} | 2 +- src/command-line/{index.scss => command-line.scss} | 0 webpack.config.js | 4 ++-- 4 files changed, 3 insertions(+), 3 deletions(-) rename src/command-line/{index.html => command-line.html} (100%) rename src/command-line/{index.js => command-line.js} (97%) rename src/command-line/{index.scss => command-line.scss} (100%) diff --git a/src/command-line/index.html b/src/command-line/command-line.html similarity index 100% rename from src/command-line/index.html rename to src/command-line/command-line.html diff --git a/src/command-line/index.js b/src/command-line/command-line.js similarity index 97% rename from src/command-line/index.js rename to src/command-line/command-line.js index f99afa0..34f3f35 100644 --- a/src/command-line/index.js +++ b/src/command-line/command-line.js @@ -1,4 +1,4 @@ -import './index.scss'; +import './command-line.scss'; const parent = window.parent; diff --git a/src/command-line/index.scss b/src/command-line/command-line.scss similarity index 100% rename from src/command-line/index.scss rename to src/command-line/command-line.scss diff --git a/webpack.config.js b/webpack.config.js index 5019366..f34d203 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -8,7 +8,7 @@ module.exports = { entry: { index: path.join(src, 'content'), background: path.join(src, 'background'), - 'command-line': path.join(src, 'command-line') + 'command-line': path.join(src, 'command-line', 'command-line.js') }, output: { @@ -43,7 +43,7 @@ module.exports = { plugins: [ new HtmlWebpackPlugin({ - template: path.join(src, 'command-line', 'index.html'), + template: path.join(src, 'command-line', 'command-line.html'), filename: path.join(dist, 'command-line.html'), inject: false })