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

Build: switch from gulp to webpack (via npm scripts) #155

Open
infokiller opened this issue Jun 20, 2020 · 0 comments
Open

Build: switch from gulp to webpack (via npm scripts) #155

infokiller opened this issue Jun 20, 2020 · 0 comments
Assignees

Comments

@infokiller
Copy link
Owner

This will improve development because:

  • Using imports will make dev tools (such as editors and linters) aware of file dependencies. Right now we have a few of eslint-disable comments for issues related to this, and autocomplete doesn't work well for me in vim.
  • Some files in the src directory are actually dependencies that we deploy there for loading the extension from this directory. Mixing source files of this project with others is not good, for example web-ext lint reports errors on files from dependencies.

Of course, we need to make sure that there are source maps and debugging using devtools is just as easy as it is now.

This should be pretty easy, example extension: https://github.com/mdn/webextensions-examples/tree/master/webpack-modules

Related: #75

@infokiller infokiller changed the title Build: switch from gulp to webpack Build: switch from gulp to webpack (via npm scripts) Jun 23, 2020
@infokiller infokiller self-assigned this Jul 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant