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
Explore build process for ECMAscript #380
Comments
I've been reading on this issue and the general consensus is that it is possible to use webpack for ECMAscript modules. The oldest answers generally say that Babel and webpack 4 are needed, but a newer answer says that I just need to change the syntax of the file. I'm currently trying to do that. This GitHub issue was linked. |
Perfect! Let's do it! |
@sophieeng is aiming to finish this issue by next week. |
With the new change to the package.json, when writing import statements we have to make sure to address the type of the file we are importing from. Always add the For example: |
Great! Thanks, @sophieeng, can you add a section to the readme explaining the big build points that you found out, i.e., "We are using webpack for building OptMeowt ... ". You can also refer to this issue (or others). |
webpack.config converted to ECMAScript (issue #380)
The appropriate format changes were merged. I still need to add to the readme the big build points. |
Below is my first draft for @katehausladen of my ReadMe update. Looking briefly at the code I think the function Still to do:
OptMeowt uses the Mocha framework to execute its testing and continuous integration. Running tests:
Continuous Integration:
Creating a new test:
|
Thanks, @sophieeng! A few suggestions:
Running unit tests
Make sure npm is up to date by running <add command> and updating with <add command>, as necessary.
OptMeowt
no changes to the extension environment are needed to run new tests
This is not clear to me. I first navigate to .../gpc-optmeowt/test/ then I navigate to the src folder? What is the reason for that. I create a new file in the source or test folder or in both?
The naming convention is not clear to me. I create a file with this exact name above, or do I need to change, add, ... anything? Maybe, give an example to make it clear.
Include a link. |
Here's my document so as to not clog the issue with drafts. |
The ReadMe is updated and we are fully switched to ECMAscript |
As I said in #375:
Creating a separate issue here to discuss.
The text was updated successfully, but these errors were encountered: