From 0295d19a7f389b5db964e4f493d911941ddadc90 Mon Sep 17 00:00:00 2001 From: Ben Heidemann Date: Sun, 18 Apr 2021 14:43:39 +0100 Subject: [PATCH] refactor: rename plugin.js to index.js --- src/index.js | 2 +- src/webpack-plugin/{plugin.js => index.js} | 0 tests/spec/webpack-plugin/webpack-plugin.spec.js | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/webpack-plugin/{plugin.js => index.js} (100%) diff --git a/src/index.js b/src/index.js index ce2cc30..8a77c73 100644 --- a/src/index.js +++ b/src/index.js @@ -9,7 +9,7 @@ module.exports = Filer = { path: require('./path.js'), Errors: require('./errors.js'), Shell: require('./shell/shell.js'), - FilerWebpackPlugin: require('./webpack-plugin/plugin'), + FilerWebpackPlugin: require('./webpack-plugin'), }; // Add a getter for the `fs` instance, which returns diff --git a/src/webpack-plugin/plugin.js b/src/webpack-plugin/index.js similarity index 100% rename from src/webpack-plugin/plugin.js rename to src/webpack-plugin/index.js diff --git a/tests/spec/webpack-plugin/webpack-plugin.spec.js b/tests/spec/webpack-plugin/webpack-plugin.spec.js index fa197df..73898a7 100644 --- a/tests/spec/webpack-plugin/webpack-plugin.spec.js +++ b/tests/spec/webpack-plugin/webpack-plugin.spec.js @@ -1,7 +1,7 @@ 'use strict'; const expect = require('chai').expect; const utils = require('../../lib/test-utils'); -const FilerWebpackPlugin = require('../../../src/webpack-plugin/plugin'); +const FilerWebpackPlugin = require('../../../src/webpack-plugin'); function createNMFResolveCompilerObject(resolveData) {