Comments (5)
concat-stats-for/3-vendor.css/addon-tree-output/
ember-cli-notifications/
- components/
- services/
- styles/
- templates/
ember-cli-notifications.css
from broccoli-concat.
Steps to reproduce?
from broccoli-concat.
this should do it:
git clone [email protected]:NullVoxPopuli/emberclear.git
cd emberclear/packages/frontend
git checkout broccoli-concat-tests
yarn clean && yarn && yarn analyze
though, when I just ran this again, I got a different error / missing file:
$ yarn broccoli-concat-analyser ./concat-stats-for
$ /home/me/Development/NullVoxPopuli/emberclear/packages/frontend/node_modules/.bin/broccoli-concat-analyser ./concat-stats-for
⠙ processing...{ Error: ENOENT: no such file or directory, open '/home/me/Development/NullVoxPopuli/emberclear/packages/frontend/concat-stats-for/2-emberclear-fastboot.js/emberclear/initializers/ajax.js'
at Object.fs.openSync (fs.js:646:18)
at Object.fs.readFileSync (fs.js:551:33)
at fileNames.forEach (/home/me/Development/NullVoxPopuli/emberclear/packages/frontend/node_modules/broccoli-concat-analyser/lib/summarize.js:31:63)
at Array.forEach (<anonymous>)
at Function.summarize (/home/me/Development/NullVoxPopuli/emberclear/packages/frontend/node_modules/broccoli-concat-analyser/lib/summarize.js:31:13)
at process.<anonymous> (/home/me/Development/NullVoxPopuli/emberclear/packages/frontend/node_modules/workerpool/lib/worker.js:76:27)
at emitTwo (events.js:126:13)
at process.emit (events.js:214:7)
at emit (internal/child_process.js:772:12)
at _combinedTickCallback (internal/process/next_tick.js:141:11)
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/home/me/Development/NullVoxPopuli/emberclear/packages/frontend/concat-stats-for/2-emberclear-fastboot.js/emberclear/initializers/ajax.js' }
from broccoli-concat.
I've come up with this script in the mean time:
#!/bin/bash
R="\e[31m"
Y="\e[33m"
N="\e[0m"
yarn build:production:analyze
# => CONCAT_STATS=true yarn build:production
# => PREMBER=true EXPERIMENTAL_RENDER_MODE_SERIALIZE=true yarn build --environment production && sed -i -e 's/{{ROOT_URL}}/\//g' dist/index.html
# => yarn ember build --environment production
# => EMBER_CLI_BROCCOLI_2=true EMBER_CLI_SYSTEM_TEMP=true EMBER_CLI_MODULE_UNIFICATION=true node_modules/.bin/ember build --environment production
# rm files that do not have corresponding folders
for filename in ./concat-stats-for/*; do
extension=${filename: -5}
if [ $extension == ".json" ]; then
folderName="${filename//$extension/}"
if [ ! -d "$folderName" ]; then
echo -e "\n${Y}$folderName ${R} does not exist..."
echo -e "\tDeleting ${Y}$filename${N}\n"
rm $filename
fi
fi
done
# begin analysis
yarn bundle-analyze
# => yarn broccoli-concat-analyser ./concat-stats-for
# => node_modules/.bin/broccoli-concat-analyser ./concat-stats-for
# copy to public folder for deployment
cp ./concat-stats-for/index.html ./public/bundle.html
it seems that the extra json files that are generated aren't useful / are already included in vendor
from broccoli-concat.
@NullVoxPopuli is this still an issue?
from broccoli-concat.
Related Issues (20)
- Bug - path name doubles up HOT 3
- Bug Concat: Result is empty and allowNone is falsy. HOT 9
- Idea to mitigate memory overhead HOT 1
- Unpin `fast-sourcemap-concat`
- SourceMap and Simple Strategies have varying support for aboslute paths
- See if we can utilize WebAssembly source-map stuff HOT 2
- Handle input files that have source maps HOT 8
- Versions after 3.2.2 HOT 3
- [fixed] Error: ENOENT: no such file or directory (issue with 3.5.1) HOT 2
- Build Error after floating upgrade to 3.5.5 HOT 1
- Empty folder `concat-stats-for` HOT 7
- Dependency needs updating. CVE-2019-10744 - high severity. Patched version: lodash.merge@^4.6.2 HOT 1
- Fails if `outputFile` specifies a non-existing directory HOT 4
- loader.js not included in ember-cli's vendor.js HOT 3
- This project appears to introduce 546 files via itself and its deps HOT 2
- [fixed] ReferenceError: mkdirp is not defined HOT 2
- `passthrough` option? HOT 1
- revert 4ea5cbcd7f3ea44735f75ab4802fab834cfd5e0f
- Add `fileDelimeter` option? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from broccoli-concat.