diff --git a/test/configCases/library/umd-array/index.js b/test/configCases/library/umd-array/index.js new file mode 100644 index 000000000..9970130cc --- /dev/null +++ b/test/configCases/library/umd-array/index.js @@ -0,0 +1,3 @@ +it("should run", function() { + +}); \ No newline at end of file diff --git a/test/configCases/library/umd-array/webpack.config.js b/test/configCases/library/umd-array/webpack.config.js new file mode 100644 index 000000000..fba3d5e17 --- /dev/null +++ b/test/configCases/library/umd-array/webpack.config.js @@ -0,0 +1,10 @@ +module.exports = { + output: { + libraryTarget: "umd", + library: { + root: ["test", "library"], + amd: "test-library", + commonjs: "test-library" + } + } +}; diff --git a/test/configCases/library/umd/webpack.config.js b/test/configCases/library/umd/webpack.config.js index 16b6c9cb6..4ce89d69c 100644 --- a/test/configCases/library/umd/webpack.config.js +++ b/test/configCases/library/umd/webpack.config.js @@ -1,22 +1,10 @@ -module.exports = [ - { - output: { - libraryTarget: "umd", - library: { - root: "testLibrary", - amd: "test-library", - commonjs: "test-library" - } - } - }, - { - output: { - libraryTarget: "umd", - library: { - root: ["test", "library"], - amd: "test-library", - commonjs: "test-library" - } +module.exports = { + output: { + libraryTarget: "umd", + library: { + root: "testLibrary", + amd: "test-library", + commonjs: "test-library" } } -]; +};