René's URL Explorer Experiment


Title: fix(prepare): clean platforms/.../app/ when running webpack by sis0k0 · Pull Request #465 · NativeScript/nativescript-dev-webpack · GitHub

Open Graph Title: fix(prepare): clean platforms/.../app/ when running webpack by sis0k0 · Pull Request #465 · NativeScript/nativescript-dev-webpack

X Title: fix(prepare): clean platforms/.../app/ when running webpack by sis0k0 · Pull Request #465 · NativeScript/nativescript-dev-webpack

Description: Every time we are running a new build with webpack the platforms/.../app/ dir should be deleted as there may be old assets left. Ex. When the app bundled with snapshot enabled: tns build android --bundle --env.snapshot this produces some assets: platforms/android/.../app/vendor.js platforms/android/.../app/_embedded_script.js // ... Then, if the project is bundled without snapshot: tns build android --bundle the produced assets will override the ones that are already in platforms/android/.../app. However, since the build is without snapshot, an _embedded_script.js won't be generated to override the one that's left in platforms/android/.../app from the previous build. We'll be using CleanWebpackPlugin to clean the dist folder. Important: Currently we're running two webpack builds when doing tns run android|ios - one on prepare and one when the watcher starts. This means that the dist folder will be cleaned two times. This will be resolved when NativeScript/nativescript-cli#3404 is implemented. rebased on top of #459 fixes #463

Open Graph Description: Every time we are running a new build with webpack the platforms/.../app/ dir should be deleted as there may be old assets left. Ex. When the app bundled with snapshot enabled: tns build android --...

X Description: Every time we are running a new build with webpack the platforms/.../app/ dir should be deleted as there may be old assets left. Ex. When the app bundled with snapshot enabled: tns build android --...

Opengraph URL: https://github.com/NativeScript/nativescript-dev-webpack/pull/465

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:4748a195-836c-a85c-a3a4-96a10ab7ae90
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id92F0:134361:194FD6D:2148B0C:6B014149
html-safe-noncefbe876e3e63eac1e53d68d8689ad8e232d86209b174bec6fe82681c9bcebfe91
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkYwOjEzNDM2MToxOTRGRDZEOjIxNDhCMEM6NkIwMTQxNDkiLCJ2aXNpdG9yX2lkIjoiMzQzMjA1MzMyMjcwNTMwODg5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd0508e02b9ce0ef17b2dd5eefb177f6d3c7c20459bbe859c6964f4efeb6de044
hovercard-subject-tagpull_request:175700694
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files
twitter:imagehttps://avatars.githubusercontent.com/u/7893485?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/7893485?s=400&v=4
og:image:altEvery time we are running a new build with webpack the platforms/.../app/ dir should be deleted as there may be old assets left. Ex. When the app bundled with snapshot enabled: tns build android --...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/NativeScript/nativescript-dev-webpack git https://github.com/NativeScript/nativescript-dev-webpack.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id54984270
octolytics-dimension-repository_nwoNativeScript/nativescript-dev-webpack
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id54984270
octolytics-dimension-repository_network_root_nwoNativeScript/nativescript-dev-webpack
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-dev-webpack%2Fpull%2F465%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-dev-webpack%2Fpull%2F465%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=NativeScript%2Fnativescript-dev-webpack
Reloadhttps://github.com/NativeScript/nativescript-dev-webpack/pull/465/files
Reloadhttps://github.com/NativeScript/nativescript-dev-webpack/pull/465/files
Reloadhttps://github.com/NativeScript/nativescript-dev-webpack/pull/465/files
NativeScripthttps://github.com/NativeScript
nativescript-dev-webpackhttps://github.com/NativeScript/nativescript-dev-webpack
Codehttps://github.com/NativeScript/nativescript-dev-webpack
Issues82 (82)https://github.com/NativeScript/nativescript-dev-webpack/issues
Pull requests3 (3)https://github.com/NativeScript/nativescript-dev-webpack/pulls
Actionshttps://github.com/NativeScript/nativescript-dev-webpack/actions
Security and qualityhttps://github.com/NativeScript/nativescript-dev-webpack/security
Insightshttps://github.com/NativeScript/nativescript-dev-webpack/insights
sis0k0https://github.com/sis0k0
masterhttps://github.com/NativeScript/nativescript-dev-webpack/tree/master
sis0k0/clean-app-pluginhttps://github.com/NativeScript/nativescript-dev-webpack/tree/sis0k0/clean-app-plugin
Conversation 1 https://github.com/NativeScript/nativescript-dev-webpack/pull/465
Commits 1 https://github.com/NativeScript/nativescript-dev-webpack/pull/465/commits
Checks 0 https://github.com/NativeScript/nativescript-dev-webpack/pull/465/checks
Files changed https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files
Please reload this pagehttps://github.com/NativeScript/nativescript-dev-webpack/pull/465/files
fix(prepare): clean platforms/.../app/ when running webpack https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#top
Show all changes 1 commit https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files
940a90f fix(prepare): clean platforms/.../app/ when running webpack sis0k0 Mar 17, 2018 https://github.com/NativeScript/nativescript-dev-webpack/pull/465/commits/940a90ffd309dfbe16e94aa0b87e9526467b5390
Clear filters https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files
Please reload this pagehttps://github.com/NativeScript/nativescript-dev-webpack/pull/465/files
Please reload this pagehttps://github.com/NativeScript/nativescript-dev-webpack/pull/465/files
dependencyManager.js https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-08d897438053dddefc09d4f71f45d94986438bb7aba9d4e8034aa3926ae5972e
webpack.angular.js https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-6243e86680a539ec10c0428a8f422606923351651b5d829ee696e2ef3251587f
webpack.javascript.js https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-d273fe6440cc49ed47e31476b3c0f975c2a07e5d0a9a4aafb52dad3f8b3bbe79
webpack.typescript.js https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-f0069841063389e2c314d2bbd0d1cc4c4f2f5756954cccb5b952cd4cbbc54081
dependencyManager.jshttps://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-08d897438053dddefc09d4f71f45d94986438bb7aba9d4e8034aa3926ae5972e
View file https://github.com/NativeScript/nativescript-dev-webpack/blob/940a90ffd309dfbe16e94aa0b87e9526467b5390/dependencyManager.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-dev-webpack/pull/465/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-08d897438053dddefc09d4f71f45d94986438bb7aba9d4e8034aa3926ae5972e
https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-08d897438053dddefc09d4f71f45d94986438bb7aba9d4e8034aa3926ae5972e
templates/webpack.angular.jshttps://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-6243e86680a539ec10c0428a8f422606923351651b5d829ee696e2ef3251587f
View file https://github.com/NativeScript/nativescript-dev-webpack/blob/940a90ffd309dfbe16e94aa0b87e9526467b5390/templates/webpack.angular.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-dev-webpack/pull/465/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-6243e86680a539ec10c0428a8f422606923351651b5d829ee696e2ef3251587f
https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-6243e86680a539ec10c0428a8f422606923351651b5d829ee696e2ef3251587f
https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-6243e86680a539ec10c0428a8f422606923351651b5d829ee696e2ef3251587f
https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-6243e86680a539ec10c0428a8f422606923351651b5d829ee696e2ef3251587f
https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-6243e86680a539ec10c0428a8f422606923351651b5d829ee696e2ef3251587f
https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-6243e86680a539ec10c0428a8f422606923351651b5d829ee696e2ef3251587f
https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-6243e86680a539ec10c0428a8f422606923351651b5d829ee696e2ef3251587f
templates/webpack.javascript.jshttps://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-d273fe6440cc49ed47e31476b3c0f975c2a07e5d0a9a4aafb52dad3f8b3bbe79
View file https://github.com/NativeScript/nativescript-dev-webpack/blob/940a90ffd309dfbe16e94aa0b87e9526467b5390/templates/webpack.javascript.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-dev-webpack/pull/465/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-d273fe6440cc49ed47e31476b3c0f975c2a07e5d0a9a4aafb52dad3f8b3bbe79
https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-d273fe6440cc49ed47e31476b3c0f975c2a07e5d0a9a4aafb52dad3f8b3bbe79
https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-d273fe6440cc49ed47e31476b3c0f975c2a07e5d0a9a4aafb52dad3f8b3bbe79
https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-d273fe6440cc49ed47e31476b3c0f975c2a07e5d0a9a4aafb52dad3f8b3bbe79
https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-d273fe6440cc49ed47e31476b3c0f975c2a07e5d0a9a4aafb52dad3f8b3bbe79
https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-d273fe6440cc49ed47e31476b3c0f975c2a07e5d0a9a4aafb52dad3f8b3bbe79
https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-d273fe6440cc49ed47e31476b3c0f975c2a07e5d0a9a4aafb52dad3f8b3bbe79
templates/webpack.typescript.jshttps://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-f0069841063389e2c314d2bbd0d1cc4c4f2f5756954cccb5b952cd4cbbc54081
View file https://github.com/NativeScript/nativescript-dev-webpack/blob/940a90ffd309dfbe16e94aa0b87e9526467b5390/templates/webpack.typescript.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-dev-webpack/pull/465/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-f0069841063389e2c314d2bbd0d1cc4c4f2f5756954cccb5b952cd4cbbc54081
https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-f0069841063389e2c314d2bbd0d1cc4c4f2f5756954cccb5b952cd4cbbc54081
https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-f0069841063389e2c314d2bbd0d1cc4c4f2f5756954cccb5b952cd4cbbc54081
https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-f0069841063389e2c314d2bbd0d1cc4c4f2f5756954cccb5b952cd4cbbc54081
https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-f0069841063389e2c314d2bbd0d1cc4c4f2f5756954cccb5b952cd4cbbc54081
https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-f0069841063389e2c314d2bbd0d1cc4c4f2f5756954cccb5b952cd4cbbc54081
https://github.com/NativeScript/nativescript-dev-webpack/pull/465/files#diff-f0069841063389e2c314d2bbd0d1cc4c4f2f5756954cccb5b952cd4cbbc54081
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.