Skip to content

Commit 15d6902

Browse files
authored
Merge pull request #343 from fancywriter/master
drop non-working concat text plugin, resolve #341
2 parents a35aaff + c53aa06 commit 15d6902

File tree

5 files changed

+0
-117
lines changed

5 files changed

+0
-117
lines changed

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,6 @@ custom:
126126
to: './' # Where in the package should they go
127127
aliases: # Create an alias to 'import' modules easily with a custom path
128128
- Lib: custom-lib/src/lib # For ex, replace the long 'custom-lib/src/lib' with 'Lib'
129-
concatText: # Concatenate text files into one file on the generated package
130-
- files: 'schema/*.txt' # Where the files that need to be concatenated are currently located
131-
outputPath: './' # Where the concatenated file should go in the package
132-
name: 'schema.txt' # The name the the concatenated file should have
133129
packager: npm # Specify a packager, 'npm' or 'yarn'. Defaults to 'npm'.
134130
packagerOptions: # Run a custom script in the package process
135131
scripts: # https://github.com/serverless-heaven/serverless-webpack#custom-scripts

package-lock.json

Lines changed: 0 additions & 79 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
"babel-loader": "^8.2.3",
4646
"babel-plugin-source-map-support": "^2.1.3",
4747
"chalk": "^4.1.2",
48-
"concat-text-webpack-plugin": "^0.2.1",
4948
"copy-webpack-plugin": "^8.1.1",
5049
"core-js": "^3.21.0",
5150
"cross-spawn": "^7.0.3",

src/webpack.config.js

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ const ESLintPlugin = require("eslint-webpack-plugin");
99
const nodeExternals = require("webpack-node-externals");
1010
const CopyWebpackPlugin = require("copy-webpack-plugin");
1111
const { ESBuildMinifyPlugin } = require("esbuild-loader");
12-
const ConcatTextPlugin = require("concat-text-webpack-plugin");
1312
const { BundleAnalyzerPlugin } = require("webpack-bundle-analyzer");
1413
const TsconfigPathsPlugin = require("tsconfig-paths-webpack-plugin");
1514
const PermissionsOutputPlugin = require("webpack-permissions-plugin");
@@ -33,7 +32,6 @@ const servicePath = config.servicePath;
3332
const nodeVersion = config.nodeVersion;
3433
const externals = config.options.externals;
3534
const copyFiles = config.options.copyFiles;
36-
const concatText = config.options.concatText;
3735
const experiments = config.options.experiments;
3836
const esbuildNodeVersion = "node" + nodeVersion;
3937
const forceExclude = config.options.forceExclude;
@@ -375,18 +373,6 @@ function plugins() {
375373
plugins.push(new PermissionsOutputPlugin({ buildFiles }));
376374
}
377375

378-
if (concatText) {
379-
const concatTextConfig = {};
380-
381-
concatText.map(function (data) {
382-
concatTextConfig.files = data.files || null;
383-
concatTextConfig.name = data.name || null;
384-
concatTextConfig.outputPath = data.outputPath || null;
385-
});
386-
387-
plugins.push(new ConcatTextPlugin(concatTextConfig));
388-
}
389-
390376
// Ignore all locale files of moment.js
391377
plugins.push(
392378
new webpack.IgnorePlugin({

tests/concat-text/concat-text.test.js

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)