2017-02-13 07:12:31 -08:00
|
|
|
|
var inspect = 4 === util.inspect.length
|
|
|
|
|
|
? // node <= 0.8.x
|
|
|
|
|
|
(function(v, colors) {
|
|
|
|
|
|
return util.inspect(v, void 0, void 0, colors);
|
|
|
|
|
|
})
|
|
|
|
|
|
: // node > 0.8.x
|
|
|
|
|
|
(function(v, colors) {
|
|
|
|
|
|
return util.inspect(v, { colors: colors });
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
var inspect = 4 === util.inspect.length
|
|
|
|
|
|
? // node <= 0.8.x
|
|
|
|
|
|
(function(v, colors) {
|
|
|
|
|
|
return util.inspect(v, void 0, void 0, colors);
|
|
|
|
|
|
})
|
|
|
|
|
|
: // node > 0.8.x
|
|
|
|
|
|
(function(v, colors) {
|
|
|
|
|
|
return util.inspect(v, { colors: colors });
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
const extractTextPluginOptions = shouldUseRelativeAssetPaths
|
|
|
|
|
|
// Making sure that the publicPath goes back to to build folder.
|
|
|
|
|
|
? { publicPath: Array(cssFilename.split('/').length).join('../') } :
|
|
|
|
|
|
{};
|
|
|
|
|
|
|
2019-10-15 18:27:39 +03:00
|
|
|
|
const extractTextPluginOptions2 = shouldUseRelativeAssetPaths
|
2017-02-13 07:12:31 -08:00
|
|
|
|
? // Making sure that the publicPath goes back to to build folder.
|
|
|
|
|
|
{ publicPath: Array(cssFilename.split("/").length).join("../") }
|
|
|
|
|
|
: {};
|
|
|
|
|
|
|
2019-10-15 18:27:39 +03:00
|
|
|
|
const extractTextPluginOptions3 = shouldUseRelativeAssetPaths // Making sure that the publicPath goes back to to build folder.
|
2017-02-13 07:12:31 -08:00
|
|
|
|
? { publicPath: Array(cssFilename.split("/").length).join("../") }
|
|
|
|
|
|
: {};
|
2017-02-20 17:25:30 -08:00
|
|
|
|
|
|
|
|
|
|
const { configureStore } = process.env.NODE_ENV === "production"
|
|
|
|
|
|
? require("./configureProdStore") // a
|
|
|
|
|
|
: require("./configureDevStore"); // b
|
2020-06-21 17:02:58 +09:00
|
|
|
|
|
|
|
|
|
|
test /* comment
|
|
|
|
|
|
comment
|
|
|
|
|
|
comment
|
|
|
|
|
|
*/
|
|
|
|
|
|
? foo
|
|
|
|
|
|
: bar;
|
|
|
|
|
|
|
|
|
|
|
|
test
|
|
|
|
|
|
? /* comment
|
|
|
|
|
|
comment
|
|
|
|
|
|
comment
|
|
|
|
|
|
comment
|
|
|
|
|
|
*/
|
|
|
|
|
|
foo
|
|
|
|
|
|
: bar;
|
|
|
|
|
|
|
|
|
|
|
|
test
|
|
|
|
|
|
? /* comment
|
|
|
|
|
|
comment
|
|
|
|
|
|
comment
|
|
|
|
|
|
comment
|
|
|
|
|
|
*/
|
|
|
|
|
|
foo
|
|
|
|
|
|
: test
|
|
|
|
|
|
? /* comment
|
|
|
|
|
|
comment
|
|
|
|
|
|
comment */
|
|
|
|
|
|
foo
|
|
|
|
|
|
: bar;
|
|
|
|
|
|
|
|
|
|
|
|
test
|
|
|
|
|
|
? /* comment */
|
|
|
|
|
|
foo
|
|
|
|
|
|
: bar;
|
|
|
|
|
|
|
|
|
|
|
|
test
|
|
|
|
|
|
? foo
|
|
|
|
|
|
: /* comment
|
|
|
|
|
|
comment
|
|
|
|
|
|
comment
|
|
|
|
|
|
comment
|
|
|
|
|
|
*/
|
|
|
|
|
|
bar;
|
|
|
|
|
|
|
|
|
|
|
|
test
|
|
|
|
|
|
? foo
|
|
|
|
|
|
: /* comment
|
|
|
|
|
|
comment
|
|
|
|
|
|
comment
|
|
|
|
|
|
comment
|
2022-12-07 15:46:40 -05:00
|
|
|
|
A newline will be added after this comment, unfortunately – but it can be removed manually, see next statement.
|
2020-06-21 17:02:58 +09:00
|
|
|
|
*/
|
|
|
|
|
|
test
|
|
|
|
|
|
? foo
|
|
|
|
|
|
: /* comment
|
|
|
|
|
|
comment
|
|
|
|
|
|
comment
|
|
|
|
|
|
*/
|
|
|
|
|
|
bar;
|
|
|
|
|
|
|
2022-12-07 15:46:40 -05:00
|
|
|
|
|
|
|
|
|
|
// It is at least possible to delete the extra newline that was
|
|
|
|
|
|
// unfortunately added before the second condition above:
|
|
|
|
|
|
test ?
|
|
|
|
|
|
foo :/* comment
|
|
|
|
|
|
comment
|
|
|
|
|
|
comment
|
|
|
|
|
|
comment
|
|
|
|
|
|
*/
|
|
|
|
|
|
test ?
|
|
|
|
|
|
foo :
|
|
|
|
|
|
/* comment
|
|
|
|
|
|
comment
|
|
|
|
|
|
comment
|
|
|
|
|
|
*/
|
|
|
|
|
|
bar;
|
|
|
|
|
|
|
2020-06-21 17:02:58 +09:00
|
|
|
|
test
|
|
|
|
|
|
? foo
|
|
|
|
|
|
: /* comment */
|
|
|
|
|
|
bar;
|
|
|
|
|
|
|
|
|
|
|
|
test ? test /* c
|
|
|
|
|
|
c */? foo : bar : bar;
|