Skip to content

route aspx page to bundle file #4879

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

Closed
b-asaf opened this issue Aug 12, 2018 · 2 comments
Closed

route aspx page to bundle file #4879

b-asaf opened this issue Aug 12, 2018 · 2 comments

Comments

@b-asaf
Copy link

b-asaf commented Aug 12, 2018

Is this a bug report?

No

Which terms did you search for in User Guide?

file name, webpack output

Environment

yarn: 1.7.0
npm 6.3.0
node 8.11.3

"react": @"^16.4.2",
"react-dom": "^16.4.2"
"eslint": "^4.19.1",
"eslint-config-airbnb": "^17.0.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-react": "^7.10.0",
"react-scripts": "1.1.4"

Windows 8

Steps to Reproduce

I am trying to integrate my React app with existing .NET project, so I did the following:

  1. Changed yarn build to: react-scripts build && move build ../Client/assets/build/AppName
  2. Created aspx.page with the following routing:
    2.1 <link rel="stylesheet" href='./assets/build/**[WHAT I NEED HERE]**.bundle.css'>
    2.2 <script src="assets/build/**[WHAT I NEED HERE]**.bundle.js"></script>

My issues are:

  1. Is there another way to go besides what is discussed in issue Option not to include hash to file names #3855.
  2. Keep getting the following https responses:
    2.1 GET http://localhost:55752/static/media/logo.5d5d9eef.svg 404 (Not Found)
    2.2 GET http://localhost:55752/service-worker.js 404 (Not Found)
  3. My CRA App became the 1st page seen when the project is up, but the user should see it only after he click a button.

Thanks

@miraage
Copy link

miraage commented Aug 14, 2018

You can read build/asset-manifest.json to find the fingerprints.

@b-asaf
Copy link
Author

b-asaf commented Sep 12, 2018

thanks

@b-asaf b-asaf closed this as completed Sep 12, 2018
@lock lock bot locked and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants