-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make extensions translatable - part 1 (#1146)
- Loading branch information
1 parent
6f1ef98
commit e8627ae
Showing
15 changed files
with
842 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}`); |
Oops, something went wrong.