JS:concat-processing gigant time required
See original GitHub issueHi, guys. First of all I really want to say thank you for great tool. I’m happy to use it, but now I have some unpleasant issue. js:concat-processing required about 4-5 min. Mb you have some solution or any ideas about the reason of this trouble.
Please find below my tars-config file
module.exports = {
"autoprefixerConfig": [
"> 1%",
"last 2 versions",
"Firefox ESR",
"android 4"
],
"postcss": [],
"svg": {
"active": true,
"workflow": "sprite",
"symbolsConfig": {
"loadingType": "inject",
"usePolyfillForExternalSymbols": true,
"pathToExternalSymbolsFile": ""
}
},
"js": {
"workflow": "concat",
"bundler": "webpack",
"lint": true,
"useBabel": false,
"removeConsoleLog": true,
"webpack": {
"useHMR": false
},
"jsPathsToConcatBeforeModulesJs": [],
"lintJsCodeBeforeModules": false,
"jsPathsToConcatAfterModulesJs": [],
"lintJsCodeAfterModules": false
},
"sourcemaps": {
"js": {
"active": true,
"inline": true
},
"css": {
"active": true,
"inline": true
}
},
"notifyConfig": {
"useNotify": true,
"title": "TARS notification",
"sounds": {},
"taskFinishedText": "Task finished at: "
},
"browserSyncConfig": {
"baseDir": "./dev",
"port": 3004,
"open": true,
"browser": "default",
"startUrl": "/index.html",
"useNotifyInBrowser": true,
"injectChanges": false
},
"minifyHtml": false,
"staticPrefix": "static/",
"buildPath": "./builds/",
"useBuildVersioning": true,
"useArchiver": true,
"ulimit": 4096,
"templater": "jade",
"cssPreprocessor": "scss",
"useImagesForDisplayWithDpi": [
96,
192,
288,
384
],
"fs": {
"staticFolderName": "static",
"imagesFolderName": "img"
},
"useBabel": false
};
Thank you in advance
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Javascript Array.push is 945x faster than Array.concat - DEV ...
It took 6 seconds to merge 15,000 arrays that each had an average size of 5 elements with .concat . What? 6 seconds......
Read more >Javascript Array.push is 945x faster than Array.concat
It took 6 seconds to merge 15,000 arrays that each had an average size of 5 elements with .concat . What? 6 seconds......
Read more >Building large strings in JavaScript ; Is join method most ...
In writing a database to disk as a text file of JSON strings. I see no reason to store the data in a...
Read more >Speed Up Your Javascript Load Time - BetterExplained
Only core files that are absolutely needed in the beginning of the page load should be there. The rest, like cool menu effects,...
Read more >concat() / Reference / Processing.org
Concatenates two arrays. For example, concatenating the array { 1, 2, 3 } and the array { 4, 5, 6 } yields {...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@elektrobober can you add log from your terminal with info about js-compilation? How many js-files do you have?
@elektrobober up!)