Skip to content
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

add new entries from lib to development #169

Merged
merged 1 commit into from
Jan 16, 2020

Conversation

dsntzn
Copy link

@dsntzn dsntzn commented Jan 16, 2020

there was this problem with static js files not really showing up in a project anywhere else than in a build folder, so we need to make these files visible for development use

  • get all js files from lib folder and make it usable in dev mode
  • remove slash from entryName because its not allowed to have slash in filename

- get all js files from lib folder and make it usable in dev mode
- remove slash from entryName because its not allowed to have slash in filename
// replace slash for dash
// (slash is not allowed as a filename character)
// entryName is used for creating filename in webpack
.replace('/', '-');
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

toto je jedina zmena

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inak by to bolo ze lib/file.js ze? Teraz to bude lib-file.js.

@adammockor adammockor merged commit 859ffbf into master Jan 16, 2020
@adammockor adammockor deleted the fix/lib-folder-webpack-entries branch January 16, 2020 14:32
@dsntzn
Copy link
Author

dsntzn commented Jan 16, 2020

prečo tu boli popadané tie buildy? som to pozeral som to moc nechápal. to je ok?

@adammockor
Copy link

Nezistoval som to este, co sa v tom deje. My ziadne testy napisane nemame a tieto su z CRA, cize tam zrejme niekde vznika problem.

@dsntzn
Copy link
Author

dsntzn commented Jan 16, 2020 via email

@jurajk
Copy link

jurajk commented Jan 16, 2020

❤️

@adammockor
Copy link

Som to skusil v styleguide pustit a nedopadlo to moc dobre :)
image

@dsntzn
Copy link
Author

dsntzn commented Jan 16, 2020 via email

@dsntzn
Copy link
Author

dsntzn commented Jan 16, 2020 via email

@adammockor
Copy link

Jj to. Slash je v pohode znak v nazve suboru, indikuje folder :) To je vlastne presne to co chceme :)

@adammockor
Copy link

Uz so skusam v Lighter-app a je to tak dobre so slashom.

@dsntzn
Copy link
Author

dsntzn commented Jan 16, 2020 via email

@adammockor
Copy link

Toto filtruje files zo slashom. Je to zabudnuty pozostatok z Lighter 2 :( https://bitbucket.org/lightingbeetle/lighter-app/src/0fb4f4ff912f40caeb3d0f7abfc7867ea03e5f34/src/index.js#lines-93

@dsntzn
Copy link
Author

dsntzn commented Jan 16, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants