-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Concat wants a folder for an addon, but one doesn't exist? #139
Comments
concat-stats-for/3-vendor.css/addon-tree-output/
|
Steps to reproduce? |
this should do it:
though, when I just ran this again, I got a different error / missing file:
|
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 |
@NullVoxPopuli is this still an issue? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just testing out the updates: ember-cli/ember-cli#8091
in package.json:
Got this error:
The text was updated successfully, but these errors were encountered: