mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 06:38:07 +02:00
Use JSON imports instead of PDFJSDev.json
JSON imports are now supported by all tools used in PDF.js' build process. The `chromecom.js` file is bundled by webpack and import attributes are thus removed, so browser compatibility for this new syntax is not relevant.
This commit is contained in:
parent
658a0a16c1
commit
a8592d86a9
7 changed files with 7 additions and 26 deletions
|
@ -382,6 +382,7 @@ function createWebpackConfig(
|
|||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.[mc]?js$/,
|
||||
loader: "babel-loader",
|
||||
exclude: babelExcludeRegExp,
|
||||
options: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue