Skip to content

Commit

Permalink
Make extensions translatable - part 1 (#1146)
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin authored Nov 15, 2023
1 parent 6f1ef98 commit e8627ae
Show file tree
Hide file tree
Showing 15 changed files with 842 additions and 116 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# npm
node_modules

# Final built website
# Final built website and localizations
build
build-l10n

# Various operating system caches
thumbs.db
Expand Down
8 changes: 6 additions & 2 deletions development/build-production.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
const pathUtil = require("path");
const Builder = require("./builder");

const outputDirectory = pathUtil.join(__dirname, "..", "build");
const outputDirectory = pathUtil.join(__dirname, "../build");
const l10nOutput = pathUtil.join(__dirname, "../build-l10n");

const builder = new Builder("production");
const build = builder.build();

build.export(outputDirectory);
console.log(`Built to ${outputDirectory}`);

console.log(`Saved to ${outputDirectory}`);
build.exportL10N(l10nOutput);
console.log(`Exported L10N to ${l10nOutput}`);
Loading

0 comments on commit e8627ae

Please sign in to comment.