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 })