├── .editorconfig ├── .gitignore ├── .jshintignore ├── .jshintrc ├── .npmignore ├── .travis.yml ├── HISTORY.md ├── Makefile ├── README.md ├── cli.js ├── helpers └── output.js ├── index.js ├── lib ├── FixCSSPathPlugin.js ├── SPMModuleParser.js ├── SPMPlugins.js ├── SPMWebpackPlugin.js ├── build.js ├── getArgs.js ├── getFiles.js ├── logArgs.js ├── resolve.js └── utils.js ├── package.json └── test ├── build-spec.js ├── expected ├── babel │ └── a.js ├── base64 │ ├── 71596111c0518fb5c238db72d22c9022.png │ ├── a.css │ └── a.js ├── common-with-name-and-version │ └── hello │ │ └── 0.0.1 │ │ ├── a.js │ │ ├── b.js │ │ └── common.js ├── common │ ├── a.js │ ├── b.js │ └── common.js ├── copy │ ├── a.html │ └── a.png ├── css-output-background │ ├── 10c9a7d6b3b78ebc0f729b6a0d54c2d4.jpg │ └── src │ │ └── a.css ├── css-output-custom-loader │ └── a.css ├── css-output │ ├── a.css │ ├── b.css │ └── b │ │ └── a.css ├── custom-loader-less │ ├── a.css │ └── a.js ├── custom-loader │ └── src │ │ ├── a.css │ │ └── a.js ├── define-cli │ └── a.js ├── define-default │ └── a.js ├── define │ └── a.js ├── dynamic │ ├── 1.js │ └── a.js ├── fix-css-resources-path │ ├── 173ad31e7143beba48c678b38c686cfa.jpg │ ├── 917cf8a0ae274ed25f07ad296acb10c8.jpg │ ├── a │ │ ├── a.css │ │ └── a.js │ ├── a999bdfa2088b4e95c213a07b79cc353.jpg │ ├── d.css │ └── d.js ├── global │ └── a.js ├── handlebars │ └── a.js ├── hash │ ├── a-98336914dfb3e2af61ca.css │ └── a-98336914dfb3e2af61ca.js ├── html-minify-enable │ ├── a.css │ ├── a.js │ └── index.htm ├── idleading │ └── a │ │ └── 0.1.0 │ │ └── a.js ├── js-entry-no-pkg │ └── a.js ├── js-entry-umd │ └── a.js ├── js-entry-vendor │ ├── a.js │ └── vendor.bundle.js ├── js-entry │ └── a.js ├── jsx │ └── a.js ├── keep-filepath │ └── a │ │ ├── a.html │ │ └── a.js ├── multiple-entry │ ├── a.css │ ├── a.js │ ├── multiple.css │ └── multiple.js ├── pathmap │ ├── 10c9a7d6b3b78ebc0f729b6a0d54c2d4.jpg │ ├── a.css │ ├── a.html │ ├── a.js │ └── b.html ├── require-css-autoprefixer │ ├── a.css │ └── a.js ├── require-css-extract │ ├── a.css │ ├── a.js │ ├── bd98d83ae100b3e9a2fd351c5a2178e9.png │ └── f6ead467753497971acc9dc7a6897dfe.png ├── require-css-min │ ├── a.css │ ├── a.js │ ├── bd98d83ae100b3e9a2fd351c5a2178e9.png │ └── f6ead467753497971acc9dc7a6897dfe.png ├── require-css │ ├── a.js │ ├── bd98d83ae100b3e9a2fd351c5a2178e9.png │ └── f6ead467753497971acc9dc7a6897dfe.png ├── require-entry │ ├── a.js │ └── b.js ├── require-less-extract │ ├── a.css │ ├── a.js │ └── bd98d83ae100b3e9a2fd351c5a2178e9.png ├── require-node-modules │ ├── events.js │ └── util.js ├── require-tpl │ └── a.js ├── umd │ └── index.js ├── unknow-custom-loader │ └── src │ │ └── a.js └── vendor-with-name-and-version │ └── hello │ └── 0.0.1 │ ├── a.js │ └── vendor.bundle.js ├── fixtures ├── babel │ ├── a.js │ └── package.json ├── base64 │ ├── a.css │ ├── a.js │ ├── a.png │ ├── b.png │ └── package.json ├── common-with-name-and-version │ ├── a.js │ ├── b.js │ ├── c.js │ ├── d.js │ └── package.json ├── common │ ├── a.js │ ├── b.js │ ├── c.js │ ├── d.js │ └── package.json ├── copy │ ├── a.html │ ├── a.png │ └── package.json ├── css-output-background │ ├── package.json │ └── src │ │ ├── 1.jpg │ │ └── a.css ├── css-output-custom-loader │ ├── a.css │ ├── node_modules │ │ └── b │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── css-output │ ├── a.css │ ├── b.less │ ├── b │ │ └── a.css │ ├── node_modules │ │ └── c │ │ │ ├── normalize.css │ │ │ └── package.json │ └── package.json ├── custom-loader-less │ ├── a.js │ ├── a.less │ ├── foo.js │ └── package.json ├── custom-loader │ ├── a.css │ ├── foo.js │ ├── package.json │ └── src │ │ └── a.js ├── define-cli │ ├── a.js │ └── package.json ├── define-default │ ├── a.js │ └── package.json ├── define │ ├── a.js │ └── package.json ├── dynamic │ ├── a.js │ ├── b.js │ └── package.json ├── fix-css-resources-path │ ├── a │ │ ├── a.jpg │ │ ├── a.js │ │ ├── aaa.css │ │ └── b │ │ │ ├── b.css │ │ │ └── b.jpg │ ├── c │ │ ├── c.css │ │ └── c.jpg │ ├── d.js │ └── package.json ├── global │ ├── a.js │ └── package.json ├── handlebars │ ├── a.handlebars │ ├── a.js │ └── package.json ├── hash │ ├── a.css │ ├── a.js │ └── package.json ├── html-minify-enable │ ├── a.css │ ├── a.js │ ├── index.htm │ └── package.json ├── idleading │ ├── a.js │ └── package.json ├── js-entry-no-pkg │ ├── a.js │ ├── node_modules │ │ └── a │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ └── b │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── private.js │ └── relative.js ├── js-entry │ ├── a.js │ ├── node_modules │ │ └── a │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ └── b │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── private.js │ ├── package.json │ └── relative.js ├── jsx │ ├── Foo.js │ ├── a.js │ └── package.json ├── keep-filepath │ ├── a │ │ ├── a.html │ │ └── a.js │ └── package.json ├── multiple-entry │ ├── a.css │ ├── a.js │ ├── b.css │ ├── b.js │ ├── c.css │ ├── c.js │ └── package.json ├── pathmap │ ├── package.json │ └── src │ │ ├── a.css │ │ ├── a.html │ │ ├── a.js │ │ ├── b.html │ │ └── images │ │ └── 1.jpg ├── require-css-autoprefixer │ ├── a.css │ ├── a.js │ └── package.json ├── require-css │ ├── a.css │ ├── a.js │ ├── a.png │ ├── node_modules │ │ └── b │ │ │ ├── b.png │ │ │ ├── index.css │ │ │ └── package.json │ ├── package.json │ └── relative.css ├── require-entry │ ├── a.js │ ├── b.js │ └── package.json ├── require-less │ ├── a.js │ ├── a.less │ ├── node_modules │ │ └── b │ │ │ ├── b.png │ │ │ ├── index.css │ │ │ └── package.json │ └── package.json ├── require-node-modules │ ├── events.js │ ├── package.json │ └── util.js ├── require-tpl │ ├── a.js │ ├── a.tpl │ └── package.json ├── resolve │ ├── a │ │ └── a.js │ ├── b │ │ └── a │ │ │ └── index.js │ └── c │ │ ├── a.js │ │ └── a │ │ └── index.js ├── scripts │ └── package.json ├── umd │ ├── index.js │ └── package.json ├── unknow-custom-loader │ ├── a.cssx │ ├── foo.js │ ├── package.json │ └── src │ │ └── a.js └── vendor-with-name-and-version │ ├── a.js │ ├── node_modules │ └── a │ │ ├── index.js │ │ ├── node_modules │ │ └── b │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── package.json │ │ └── private.js │ ├── package.json │ └── relative.js ├── resolve-spec.js └── util-spec.js /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/.gitignore -------------------------------------------------------------------------------- /.jshintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/.jshintignore -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/.jshintrc -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/.npmignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/.travis.yml -------------------------------------------------------------------------------- /HISTORY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/HISTORY.md -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/README.md -------------------------------------------------------------------------------- /cli.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/cli.js -------------------------------------------------------------------------------- /helpers/output.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/helpers/output.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/index.js -------------------------------------------------------------------------------- /lib/FixCSSPathPlugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/lib/FixCSSPathPlugin.js -------------------------------------------------------------------------------- /lib/SPMModuleParser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/lib/SPMModuleParser.js -------------------------------------------------------------------------------- /lib/SPMPlugins.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/lib/SPMPlugins.js -------------------------------------------------------------------------------- /lib/SPMWebpackPlugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/lib/SPMWebpackPlugin.js -------------------------------------------------------------------------------- /lib/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/lib/build.js -------------------------------------------------------------------------------- /lib/getArgs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/lib/getArgs.js -------------------------------------------------------------------------------- /lib/getFiles.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/lib/getFiles.js -------------------------------------------------------------------------------- /lib/logArgs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/lib/logArgs.js -------------------------------------------------------------------------------- /lib/resolve.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/lib/resolve.js -------------------------------------------------------------------------------- /lib/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/lib/utils.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/package.json -------------------------------------------------------------------------------- /test/build-spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/build-spec.js -------------------------------------------------------------------------------- /test/expected/babel/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/babel/a.js -------------------------------------------------------------------------------- /test/expected/base64/71596111c0518fb5c238db72d22c9022.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/base64/71596111c0518fb5c238db72d22c9022.png -------------------------------------------------------------------------------- /test/expected/base64/a.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/base64/a.css -------------------------------------------------------------------------------- /test/expected/base64/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/base64/a.js -------------------------------------------------------------------------------- /test/expected/common-with-name-and-version/hello/0.0.1/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/common-with-name-and-version/hello/0.0.1/a.js -------------------------------------------------------------------------------- /test/expected/common-with-name-and-version/hello/0.0.1/b.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/common-with-name-and-version/hello/0.0.1/b.js -------------------------------------------------------------------------------- /test/expected/common-with-name-and-version/hello/0.0.1/common.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/common-with-name-and-version/hello/0.0.1/common.js -------------------------------------------------------------------------------- /test/expected/common/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/common/a.js -------------------------------------------------------------------------------- /test/expected/common/b.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/common/b.js -------------------------------------------------------------------------------- /test/expected/common/common.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/common/common.js -------------------------------------------------------------------------------- /test/expected/copy/a.html: -------------------------------------------------------------------------------- 1 | hello 2 | -------------------------------------------------------------------------------- /test/expected/copy/a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/copy/a.png -------------------------------------------------------------------------------- /test/expected/css-output-background/10c9a7d6b3b78ebc0f729b6a0d54c2d4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/css-output-background/10c9a7d6b3b78ebc0f729b6a0d54c2d4.jpg -------------------------------------------------------------------------------- /test/expected/css-output-background/src/a.css: -------------------------------------------------------------------------------- 1 | .a { 2 | background: url("../10c9a7d6b3b78ebc0f729b6a0d54c2d4.jpg") no-repeat; 3 | } -------------------------------------------------------------------------------- /test/expected/css-output-custom-loader/a.css: -------------------------------------------------------------------------------- 1 | .a { 2 | color: green; 3 | } 4 | -------------------------------------------------------------------------------- /test/expected/css-output/a.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/css-output/a.css -------------------------------------------------------------------------------- /test/expected/css-output/b.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/css-output/b.css -------------------------------------------------------------------------------- /test/expected/css-output/b/a.css: -------------------------------------------------------------------------------- 1 | 2 | .b > a { 3 | color: red; 4 | } 5 | -------------------------------------------------------------------------------- /test/expected/custom-loader-less/a.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/custom-loader-less/a.css -------------------------------------------------------------------------------- /test/expected/custom-loader-less/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/custom-loader-less/a.js -------------------------------------------------------------------------------- /test/expected/custom-loader/src/a.css: -------------------------------------------------------------------------------- 1 | .boo {color:red;} 2 | -------------------------------------------------------------------------------- /test/expected/custom-loader/src/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/custom-loader/src/a.js -------------------------------------------------------------------------------- /test/expected/define-cli/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/define-cli/a.js -------------------------------------------------------------------------------- /test/expected/define-default/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/define-default/a.js -------------------------------------------------------------------------------- /test/expected/define/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/define/a.js -------------------------------------------------------------------------------- /test/expected/dynamic/1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/dynamic/1.js -------------------------------------------------------------------------------- /test/expected/dynamic/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/dynamic/a.js -------------------------------------------------------------------------------- /test/expected/fix-css-resources-path/173ad31e7143beba48c678b38c686cfa.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/fix-css-resources-path/173ad31e7143beba48c678b38c686cfa.jpg -------------------------------------------------------------------------------- /test/expected/fix-css-resources-path/917cf8a0ae274ed25f07ad296acb10c8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/fix-css-resources-path/917cf8a0ae274ed25f07ad296acb10c8.jpg -------------------------------------------------------------------------------- /test/expected/fix-css-resources-path/a/a.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/fix-css-resources-path/a/a.css -------------------------------------------------------------------------------- /test/expected/fix-css-resources-path/a/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/fix-css-resources-path/a/a.js -------------------------------------------------------------------------------- /test/expected/fix-css-resources-path/a999bdfa2088b4e95c213a07b79cc353.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/fix-css-resources-path/a999bdfa2088b4e95c213a07b79cc353.jpg -------------------------------------------------------------------------------- /test/expected/fix-css-resources-path/d.css: -------------------------------------------------------------------------------- 1 | a { 2 | color: red; 3 | background: url(917cf8a0ae274ed25f07ad296acb10c8.jpg); 4 | } -------------------------------------------------------------------------------- /test/expected/fix-css-resources-path/d.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/fix-css-resources-path/d.js -------------------------------------------------------------------------------- /test/expected/global/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/global/a.js -------------------------------------------------------------------------------- /test/expected/handlebars/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/handlebars/a.js -------------------------------------------------------------------------------- /test/expected/hash/a-98336914dfb3e2af61ca.css: -------------------------------------------------------------------------------- 1 | a { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /test/expected/hash/a-98336914dfb3e2af61ca.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/hash/a-98336914dfb3e2af61ca.js -------------------------------------------------------------------------------- /test/expected/html-minify-enable/a.css: -------------------------------------------------------------------------------- 1 | a{color:red} -------------------------------------------------------------------------------- /test/expected/html-minify-enable/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/html-minify-enable/a.js -------------------------------------------------------------------------------- /test/expected/html-minify-enable/index.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/html-minify-enable/index.htm -------------------------------------------------------------------------------- /test/expected/idleading/a/0.1.0/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/idleading/a/0.1.0/a.js -------------------------------------------------------------------------------- /test/expected/js-entry-no-pkg/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/js-entry-no-pkg/a.js -------------------------------------------------------------------------------- /test/expected/js-entry-umd/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/js-entry-umd/a.js -------------------------------------------------------------------------------- /test/expected/js-entry-vendor/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/js-entry-vendor/a.js -------------------------------------------------------------------------------- /test/expected/js-entry-vendor/vendor.bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/js-entry-vendor/vendor.bundle.js -------------------------------------------------------------------------------- /test/expected/js-entry/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/js-entry/a.js -------------------------------------------------------------------------------- /test/expected/jsx/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/jsx/a.js -------------------------------------------------------------------------------- /test/expected/keep-filepath/a/a.html: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /test/expected/keep-filepath/a/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/keep-filepath/a/a.js -------------------------------------------------------------------------------- /test/expected/multiple-entry/a.css: -------------------------------------------------------------------------------- 1 | 2 | .a {color:red;} 3 | -------------------------------------------------------------------------------- /test/expected/multiple-entry/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/multiple-entry/a.js -------------------------------------------------------------------------------- /test/expected/multiple-entry/multiple.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/multiple-entry/multiple.css -------------------------------------------------------------------------------- /test/expected/multiple-entry/multiple.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/multiple-entry/multiple.js -------------------------------------------------------------------------------- /test/expected/pathmap/10c9a7d6b3b78ebc0f729b6a0d54c2d4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/pathmap/10c9a7d6b3b78ebc0f729b6a0d54c2d4.jpg -------------------------------------------------------------------------------- /test/expected/pathmap/a.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/pathmap/a.css -------------------------------------------------------------------------------- /test/expected/pathmap/a.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/pathmap/a.html -------------------------------------------------------------------------------- /test/expected/pathmap/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/pathmap/a.js -------------------------------------------------------------------------------- /test/expected/pathmap/b.html: -------------------------------------------------------------------------------- 1 | b 2 | -------------------------------------------------------------------------------- /test/expected/require-css-autoprefixer/a.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/require-css-autoprefixer/a.css -------------------------------------------------------------------------------- /test/expected/require-css-autoprefixer/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/require-css-autoprefixer/a.js -------------------------------------------------------------------------------- /test/expected/require-css-extract/a.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/require-css-extract/a.css -------------------------------------------------------------------------------- /test/expected/require-css-extract/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/require-css-extract/a.js -------------------------------------------------------------------------------- /test/expected/require-css-extract/bd98d83ae100b3e9a2fd351c5a2178e9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/require-css-extract/bd98d83ae100b3e9a2fd351c5a2178e9.png -------------------------------------------------------------------------------- /test/expected/require-css-extract/f6ead467753497971acc9dc7a6897dfe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/require-css-extract/f6ead467753497971acc9dc7a6897dfe.png -------------------------------------------------------------------------------- /test/expected/require-css-min/a.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/require-css-min/a.css -------------------------------------------------------------------------------- /test/expected/require-css-min/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/require-css-min/a.js -------------------------------------------------------------------------------- /test/expected/require-css-min/bd98d83ae100b3e9a2fd351c5a2178e9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/require-css-min/bd98d83ae100b3e9a2fd351c5a2178e9.png -------------------------------------------------------------------------------- /test/expected/require-css-min/f6ead467753497971acc9dc7a6897dfe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/require-css-min/f6ead467753497971acc9dc7a6897dfe.png -------------------------------------------------------------------------------- /test/expected/require-css/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/require-css/a.js -------------------------------------------------------------------------------- /test/expected/require-css/bd98d83ae100b3e9a2fd351c5a2178e9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/require-css/bd98d83ae100b3e9a2fd351c5a2178e9.png -------------------------------------------------------------------------------- /test/expected/require-css/f6ead467753497971acc9dc7a6897dfe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/require-css/f6ead467753497971acc9dc7a6897dfe.png -------------------------------------------------------------------------------- /test/expected/require-entry/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/require-entry/a.js -------------------------------------------------------------------------------- /test/expected/require-entry/b.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/require-entry/b.js -------------------------------------------------------------------------------- /test/expected/require-less-extract/a.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/require-less-extract/a.css -------------------------------------------------------------------------------- /test/expected/require-less-extract/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/require-less-extract/a.js -------------------------------------------------------------------------------- /test/expected/require-less-extract/bd98d83ae100b3e9a2fd351c5a2178e9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/require-less-extract/bd98d83ae100b3e9a2fd351c5a2178e9.png -------------------------------------------------------------------------------- /test/expected/require-node-modules/events.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/require-node-modules/events.js -------------------------------------------------------------------------------- /test/expected/require-node-modules/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/require-node-modules/util.js -------------------------------------------------------------------------------- /test/expected/require-tpl/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/require-tpl/a.js -------------------------------------------------------------------------------- /test/expected/umd/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/umd/index.js -------------------------------------------------------------------------------- /test/expected/unknow-custom-loader/src/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/unknow-custom-loader/src/a.js -------------------------------------------------------------------------------- /test/expected/vendor-with-name-and-version/hello/0.0.1/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/vendor-with-name-and-version/hello/0.0.1/a.js -------------------------------------------------------------------------------- /test/expected/vendor-with-name-and-version/hello/0.0.1/vendor.bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/expected/vendor-with-name-and-version/hello/0.0.1/vendor.bundle.js -------------------------------------------------------------------------------- /test/fixtures/babel/a.js: -------------------------------------------------------------------------------- 1 | 2 | var [a,b] = [1,2]; 3 | -------------------------------------------------------------------------------- /test/fixtures/babel/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/babel/package.json -------------------------------------------------------------------------------- /test/fixtures/base64/a.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/base64/a.css -------------------------------------------------------------------------------- /test/fixtures/base64/a.js: -------------------------------------------------------------------------------- 1 | 2 | require('./a.css'); 3 | -------------------------------------------------------------------------------- /test/fixtures/base64/a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/base64/a.png -------------------------------------------------------------------------------- /test/fixtures/base64/b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/base64/b.png -------------------------------------------------------------------------------- /test/fixtures/base64/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/base64/package.json -------------------------------------------------------------------------------- /test/fixtures/common-with-name-and-version/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/common-with-name-and-version/a.js -------------------------------------------------------------------------------- /test/fixtures/common-with-name-and-version/b.js: -------------------------------------------------------------------------------- 1 | 2 | require('./c'); 3 | console.log('b'); 4 | -------------------------------------------------------------------------------- /test/fixtures/common-with-name-and-version/c.js: -------------------------------------------------------------------------------- 1 | 2 | console.log('c'); 3 | -------------------------------------------------------------------------------- /test/fixtures/common-with-name-and-version/d.js: -------------------------------------------------------------------------------- 1 | 2 | console.log('d'); 3 | -------------------------------------------------------------------------------- /test/fixtures/common-with-name-and-version/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/common-with-name-and-version/package.json -------------------------------------------------------------------------------- /test/fixtures/common/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/common/a.js -------------------------------------------------------------------------------- /test/fixtures/common/b.js: -------------------------------------------------------------------------------- 1 | 2 | require('./c'); 3 | console.log('b'); 4 | -------------------------------------------------------------------------------- /test/fixtures/common/c.js: -------------------------------------------------------------------------------- 1 | 2 | console.log('c'); 3 | -------------------------------------------------------------------------------- /test/fixtures/common/d.js: -------------------------------------------------------------------------------- 1 | 2 | console.log('d'); 3 | -------------------------------------------------------------------------------- /test/fixtures/common/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/common/package.json -------------------------------------------------------------------------------- /test/fixtures/copy/a.html: -------------------------------------------------------------------------------- 1 | hello 2 | -------------------------------------------------------------------------------- /test/fixtures/copy/a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/copy/a.png -------------------------------------------------------------------------------- /test/fixtures/copy/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/copy/package.json -------------------------------------------------------------------------------- /test/fixtures/css-output-background/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/css-output-background/package.json -------------------------------------------------------------------------------- /test/fixtures/css-output-background/src/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/css-output-background/src/1.jpg -------------------------------------------------------------------------------- /test/fixtures/css-output-background/src/a.css: -------------------------------------------------------------------------------- 1 | .a { 2 | background: url(1.jpg) no-repeat; 3 | } 4 | 5 | -------------------------------------------------------------------------------- /test/fixtures/css-output-custom-loader/a.css: -------------------------------------------------------------------------------- 1 | .a { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/css-output-custom-loader/node_modules/b/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/css-output-custom-loader/node_modules/b/index.js -------------------------------------------------------------------------------- /test/fixtures/css-output-custom-loader/node_modules/b/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/css-output-custom-loader/node_modules/b/package.json -------------------------------------------------------------------------------- /test/fixtures/css-output-custom-loader/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/css-output-custom-loader/package.json -------------------------------------------------------------------------------- /test/fixtures/css-output/a.css: -------------------------------------------------------------------------------- 1 | @import '~c'; 2 | 3 | .a { color: red; } 4 | -------------------------------------------------------------------------------- /test/fixtures/css-output/b.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/css-output/b.less -------------------------------------------------------------------------------- /test/fixtures/css-output/b/a.css: -------------------------------------------------------------------------------- 1 | 2 | .b > a { 3 | color: red; 4 | } 5 | -------------------------------------------------------------------------------- /test/fixtures/css-output/node_modules/c/normalize.css: -------------------------------------------------------------------------------- 1 | .c { 2 | color: #111; 3 | } -------------------------------------------------------------------------------- /test/fixtures/css-output/node_modules/c/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/css-output/node_modules/c/package.json -------------------------------------------------------------------------------- /test/fixtures/css-output/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/css-output/package.json -------------------------------------------------------------------------------- /test/fixtures/custom-loader-less/a.js: -------------------------------------------------------------------------------- 1 | require('./a.less'); 2 | console.log(1); 3 | 4 | -------------------------------------------------------------------------------- /test/fixtures/custom-loader-less/a.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/custom-loader-less/a.less -------------------------------------------------------------------------------- /test/fixtures/custom-loader-less/foo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/custom-loader-less/foo.js -------------------------------------------------------------------------------- /test/fixtures/custom-loader-less/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/custom-loader-less/package.json -------------------------------------------------------------------------------- /test/fixtures/custom-loader/a.css: -------------------------------------------------------------------------------- 1 | .bar {color:red;} 2 | -------------------------------------------------------------------------------- /test/fixtures/custom-loader/foo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/custom-loader/foo.js -------------------------------------------------------------------------------- /test/fixtures/custom-loader/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/custom-loader/package.json -------------------------------------------------------------------------------- /test/fixtures/custom-loader/src/a.js: -------------------------------------------------------------------------------- 1 | require('../a.css'); 2 | console.log(1); 3 | 4 | -------------------------------------------------------------------------------- /test/fixtures/define-cli/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/define-cli/a.js -------------------------------------------------------------------------------- /test/fixtures/define-cli/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/define-cli/package.json -------------------------------------------------------------------------------- /test/fixtures/define-default/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/define-default/a.js -------------------------------------------------------------------------------- /test/fixtures/define-default/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/define-default/package.json -------------------------------------------------------------------------------- /test/fixtures/define/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/define/a.js -------------------------------------------------------------------------------- /test/fixtures/define/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/define/package.json -------------------------------------------------------------------------------- /test/fixtures/dynamic/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/dynamic/a.js -------------------------------------------------------------------------------- /test/fixtures/dynamic/b.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/dynamic/b.js -------------------------------------------------------------------------------- /test/fixtures/dynamic/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/dynamic/package.json -------------------------------------------------------------------------------- /test/fixtures/fix-css-resources-path/a/a.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/fix-css-resources-path/a/a.jpg -------------------------------------------------------------------------------- /test/fixtures/fix-css-resources-path/a/a.js: -------------------------------------------------------------------------------- 1 | 2 | require('./aaa.css'); 3 | -------------------------------------------------------------------------------- /test/fixtures/fix-css-resources-path/a/aaa.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/fix-css-resources-path/a/aaa.css -------------------------------------------------------------------------------- /test/fixtures/fix-css-resources-path/a/b/b.css: -------------------------------------------------------------------------------- 1 | 2 | a { 3 | color: red; 4 | background: url('./b.jpg'); 5 | } 6 | 7 | -------------------------------------------------------------------------------- /test/fixtures/fix-css-resources-path/a/b/b.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/fix-css-resources-path/a/b/b.jpg -------------------------------------------------------------------------------- /test/fixtures/fix-css-resources-path/c/c.css: -------------------------------------------------------------------------------- 1 | 2 | a { 3 | color: red; 4 | background: url(c.jpg); 5 | } 6 | -------------------------------------------------------------------------------- /test/fixtures/fix-css-resources-path/c/c.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/fix-css-resources-path/c/c.jpg -------------------------------------------------------------------------------- /test/fixtures/fix-css-resources-path/d.js: -------------------------------------------------------------------------------- 1 | require('./c/c.css'); 2 | -------------------------------------------------------------------------------- /test/fixtures/fix-css-resources-path/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/fix-css-resources-path/package.json -------------------------------------------------------------------------------- /test/fixtures/global/a.js: -------------------------------------------------------------------------------- 1 | 2 | var $ = require('jquery'); 3 | console.log($); 4 | -------------------------------------------------------------------------------- /test/fixtures/global/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/global/package.json -------------------------------------------------------------------------------- /test/fixtures/handlebars/a.handlebars: -------------------------------------------------------------------------------- 1 | hello {{title}} 2 | -------------------------------------------------------------------------------- /test/fixtures/handlebars/a.js: -------------------------------------------------------------------------------- 1 | 2 | var tpl = require('./a.handlebars'); 3 | console.log(tpl({title:1})); 4 | -------------------------------------------------------------------------------- /test/fixtures/handlebars/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/handlebars/package.json -------------------------------------------------------------------------------- /test/fixtures/hash/a.css: -------------------------------------------------------------------------------- 1 | a { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/hash/a.js: -------------------------------------------------------------------------------- 1 | require('./a.css'); 2 | 3 | console.log(1); 4 | -------------------------------------------------------------------------------- /test/fixtures/hash/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/hash/package.json -------------------------------------------------------------------------------- /test/fixtures/html-minify-enable/a.css: -------------------------------------------------------------------------------- 1 | a { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/html-minify-enable/a.js: -------------------------------------------------------------------------------- 1 | require('./a.css'); 2 | 3 | console.log(1); 4 | -------------------------------------------------------------------------------- /test/fixtures/html-minify-enable/index.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/html-minify-enable/index.htm -------------------------------------------------------------------------------- /test/fixtures/html-minify-enable/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/html-minify-enable/package.json -------------------------------------------------------------------------------- /test/fixtures/idleading/a.js: -------------------------------------------------------------------------------- 1 | console.log(1); 2 | -------------------------------------------------------------------------------- /test/fixtures/idleading/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/idleading/package.json -------------------------------------------------------------------------------- /test/fixtures/js-entry-no-pkg/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/js-entry-no-pkg/a.js -------------------------------------------------------------------------------- /test/fixtures/js-entry-no-pkg/node_modules/a/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/js-entry-no-pkg/node_modules/a/index.js -------------------------------------------------------------------------------- /test/fixtures/js-entry-no-pkg/node_modules/a/node_modules/b/index.js: -------------------------------------------------------------------------------- 1 | console.log('b'); 2 | -------------------------------------------------------------------------------- /test/fixtures/js-entry-no-pkg/node_modules/a/node_modules/b/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/js-entry-no-pkg/node_modules/a/node_modules/b/package.json -------------------------------------------------------------------------------- /test/fixtures/js-entry-no-pkg/node_modules/a/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/js-entry-no-pkg/node_modules/a/package.json -------------------------------------------------------------------------------- /test/fixtures/js-entry-no-pkg/node_modules/a/private.js: -------------------------------------------------------------------------------- 1 | console.log('private in a'); 2 | -------------------------------------------------------------------------------- /test/fixtures/js-entry-no-pkg/relative.js: -------------------------------------------------------------------------------- 1 | console.log('relative'); 2 | -------------------------------------------------------------------------------- /test/fixtures/js-entry/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/js-entry/a.js -------------------------------------------------------------------------------- /test/fixtures/js-entry/node_modules/a/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/js-entry/node_modules/a/index.js -------------------------------------------------------------------------------- /test/fixtures/js-entry/node_modules/a/node_modules/b/index.js: -------------------------------------------------------------------------------- 1 | console.log('b'); 2 | -------------------------------------------------------------------------------- /test/fixtures/js-entry/node_modules/a/node_modules/b/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/js-entry/node_modules/a/node_modules/b/package.json -------------------------------------------------------------------------------- /test/fixtures/js-entry/node_modules/a/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/js-entry/node_modules/a/package.json -------------------------------------------------------------------------------- /test/fixtures/js-entry/node_modules/a/private.js: -------------------------------------------------------------------------------- 1 | console.log('private in a'); 2 | -------------------------------------------------------------------------------- /test/fixtures/js-entry/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/js-entry/package.json -------------------------------------------------------------------------------- /test/fixtures/js-entry/relative.js: -------------------------------------------------------------------------------- 1 | console.log('relative'); 2 | -------------------------------------------------------------------------------- /test/fixtures/jsx/Foo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/jsx/Foo.js -------------------------------------------------------------------------------- /test/fixtures/jsx/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/jsx/a.js -------------------------------------------------------------------------------- /test/fixtures/jsx/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/jsx/package.json -------------------------------------------------------------------------------- /test/fixtures/keep-filepath/a/a.html: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /test/fixtures/keep-filepath/a/a.js: -------------------------------------------------------------------------------- 1 | console.log(1); 2 | -------------------------------------------------------------------------------- /test/fixtures/keep-filepath/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/keep-filepath/package.json -------------------------------------------------------------------------------- /test/fixtures/multiple-entry/a.css: -------------------------------------------------------------------------------- 1 | 2 | .a {color:red;} 3 | -------------------------------------------------------------------------------- /test/fixtures/multiple-entry/a.js: -------------------------------------------------------------------------------- 1 | 2 | console.log('a'); 3 | -------------------------------------------------------------------------------- /test/fixtures/multiple-entry/b.css: -------------------------------------------------------------------------------- 1 | 2 | .b {color:red;} 3 | -------------------------------------------------------------------------------- /test/fixtures/multiple-entry/b.js: -------------------------------------------------------------------------------- 1 | 2 | console.log('b'); 3 | -------------------------------------------------------------------------------- /test/fixtures/multiple-entry/c.css: -------------------------------------------------------------------------------- 1 | 2 | .c {color:red;} 3 | -------------------------------------------------------------------------------- /test/fixtures/multiple-entry/c.js: -------------------------------------------------------------------------------- 1 | 2 | console.log('c'); 3 | -------------------------------------------------------------------------------- /test/fixtures/multiple-entry/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/multiple-entry/package.json -------------------------------------------------------------------------------- /test/fixtures/pathmap/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/pathmap/package.json -------------------------------------------------------------------------------- /test/fixtures/pathmap/src/a.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/pathmap/src/a.css -------------------------------------------------------------------------------- /test/fixtures/pathmap/src/a.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spmjs/spm-webpack/HEAD/test/fixtures/pathmap/src/a.html -------------------------------------------------------------------------------- /test/fixtures/pathmap/src/a.js: -------------------------------------------------------------------------------- 1 | document.write('