mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Try out transpiled-only builds
This commit is contained in:
parent
6abe731b32
commit
3b4ae39caa
@ -36,7 +36,7 @@ module.exports = function (api) {
|
|||||||
sourceType: "module",
|
sourceType: "module",
|
||||||
sourceMaps: false,
|
sourceMaps: false,
|
||||||
parserOpts: {},
|
parserOpts: {},
|
||||||
only: ["../src/js"],
|
// only: ["../src/js"],
|
||||||
generatorOpts: {
|
generatorOpts: {
|
||||||
retainLines: false,
|
retainLines: false,
|
||||||
compact: true,
|
compact: true,
|
||||||
|
@ -85,7 +85,10 @@ function gulptasksJS($, gulp, buildFolder, browserSync) {
|
|||||||
});
|
});
|
||||||
gulp.task(
|
gulp.task(
|
||||||
"js." + variant + ".prod",
|
"js." + variant + ".prod",
|
||||||
gulp.parallel("js." + variant + ".prod.transpiled", "js." + variant + ".prod.es6")
|
|
||||||
|
// ES6 Currently not used
|
||||||
|
// gulp.parallel("js." + variant + ".prod.transpiled", "js." + variant + ".prod.es6")
|
||||||
|
gulp.parallel("js." + variant + ".prod.transpiled")
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
// STANDALONE
|
// STANDALONE
|
||||||
|
@ -48,7 +48,6 @@
|
|||||||
"query-string": "^6.8.1",
|
"query-string": "^6.8.1",
|
||||||
"raw-loader": "^4.0.2",
|
"raw-loader": "^4.0.2",
|
||||||
"rusha": "^0.8.13",
|
"rusha": "^0.8.13",
|
||||||
"serialize-error": "^3.0.0",
|
|
||||||
"stream-browserify": "^3.0.0",
|
"stream-browserify": "^3.0.0",
|
||||||
"strictdom": "^1.0.1",
|
"strictdom": "^1.0.1",
|
||||||
"string-replace-webpack-plugin": "^0.1.3",
|
"string-replace-webpack-plugin": "^0.1.3",
|
||||||
|
@ -206,6 +206,10 @@ module.exports = ({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.js$/,
|
test: /\.js$/,
|
||||||
|
exclude: {
|
||||||
|
and: [/rusha/],
|
||||||
|
// // not: [/semver/, /query-string/, /yallist/],
|
||||||
|
},
|
||||||
use: [
|
use: [
|
||||||
// "thread-loader",
|
// "thread-loader",
|
||||||
{
|
{
|
||||||
@ -235,6 +239,10 @@ module.exports = ({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.worker\.js$/,
|
test: /\.worker\.js$/,
|
||||||
|
exclude: {
|
||||||
|
and: [/rusha/],
|
||||||
|
// // not: [/semver/, /query-string/, /yallist/],
|
||||||
|
},
|
||||||
use: [
|
use: [
|
||||||
{
|
{
|
||||||
loader: "worker-loader",
|
loader: "worker-loader",
|
||||||
|
@ -11182,11 +11182,6 @@ sequencify@~0.0.7:
|
|||||||
resolved "https://registry.npmjs.org/sequencify/-/sequencify-0.0.7.tgz"
|
resolved "https://registry.npmjs.org/sequencify/-/sequencify-0.0.7.tgz"
|
||||||
integrity sha1-kM/xnQLgcCf9dn9erT57ldHnOAw=
|
integrity sha1-kM/xnQLgcCf9dn9erT57ldHnOAw=
|
||||||
|
|
||||||
serialize-error@^3.0.0:
|
|
||||||
version "3.0.0"
|
|
||||||
resolved "https://registry.npmjs.org/serialize-error/-/serialize-error-3.0.0.tgz"
|
|
||||||
integrity sha512-+y3nkkG/go1Vdw+2f/+XUXM1DXX1XcxTl99FfiD/OEPUNw4uo0i6FKABfTAN5ZcgGtjTRZcEbxcE/jtXbEY19A==
|
|
||||||
|
|
||||||
serialize-error@^7.0.1:
|
serialize-error@^7.0.1:
|
||||||
version "7.0.1"
|
version "7.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/serialize-error/-/serialize-error-7.0.1.tgz#f1360b0447f61ffb483ec4157c737fab7d778e18"
|
resolved "https://registry.yarnpkg.com/serialize-error/-/serialize-error-7.0.1.tgz#f1360b0447f61ffb483ec4157c737fab7d778e18"
|
||||||
|
@ -58,7 +58,6 @@
|
|||||||
"query-string": "^6.8.1",
|
"query-string": "^6.8.1",
|
||||||
"rusha": "^0.8.13",
|
"rusha": "^0.8.13",
|
||||||
"semver": "^7.3.5",
|
"semver": "^7.3.5",
|
||||||
"serialize-error": "^3.0.0",
|
|
||||||
"strictdom": "^1.0.1",
|
"strictdom": "^1.0.1",
|
||||||
"string-replace-webpack-plugin": "^0.1.3",
|
"string-replace-webpack-plugin": "^0.1.3",
|
||||||
"terser-webpack-plugin": "^1.1.0",
|
"terser-webpack-plugin": "^1.1.0",
|
||||||
|
@ -7534,11 +7534,6 @@ send@0.17.1:
|
|||||||
range-parser "~1.2.1"
|
range-parser "~1.2.1"
|
||||||
statuses "~1.5.0"
|
statuses "~1.5.0"
|
||||||
|
|
||||||
serialize-error@^3.0.0:
|
|
||||||
version "3.0.0"
|
|
||||||
resolved "https://registry.npmjs.org/serialize-error/-/serialize-error-3.0.0.tgz"
|
|
||||||
integrity sha512-+y3nkkG/go1Vdw+2f/+XUXM1DXX1XcxTl99FfiD/OEPUNw4uo0i6FKABfTAN5ZcgGtjTRZcEbxcE/jtXbEY19A==
|
|
||||||
|
|
||||||
serialize-javascript@^2.1.2:
|
serialize-javascript@^2.1.2:
|
||||||
version "2.1.2"
|
version "2.1.2"
|
||||||
resolved "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-2.1.2.tgz"
|
resolved "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-2.1.2.tgz"
|
||||||
|
Loading…
Reference in New Issue
Block a user