browser-extension-template icon indicating copy to clipboard operation
browser-extension-template copied to clipboard

How does this template handle the _locales files?

Open mj-kiwi opened this issue 3 years ago • 2 comments

Hi there, I wonder how does this template handle the _locales files?

mj-kiwi avatar Mar 18 '21 09:03 mj-kiwi

There's no _locales files in this template at the moment, and we don't handle any of those explicitly.

What exactly are you referring to? Need more info on what you are talking about.

notlmn avatar Mar 18 '21 12:03 notlmn

I think he's referring to the build since one would expect it to copy everything from source.

I think a few things need to be documented:

  • [ ] how Parcel works, in a few words (e.g. it detects every file imported via manifest.json and in the CSS and JS files)
  • [ ] what methods of importing are supported (the official docs should be updated https://github.com/parcel-bundler/website/issues/834)
  • [ ] what isn't supported: https://github.com/parcel-bundler/parcel/issues/5758

@mjliang to answer your question specifically, Parcel appears to pick them up automatically, according to the original PR: https://github.com/parcel-bundler/parcel/pull/5304/files#diff-a02e4750f9ae61d0172d4e2f2c07783b29789cec2b4127454035c6b8983d1ece

fregante avatar Mar 18 '21 18:03 fregante