mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-26 06:27:59 +02:00
Use template strings, update React components, and update package.json files
This commit is contained in:
parent
9b35317fb5
commit
c6503c4bfa
11 changed files with 95 additions and 104 deletions
3
lib/build-files.js
Normal file → Executable file
3
lib/build-files.js
Normal file → Executable file
|
@ -10,10 +10,9 @@
|
|||
*/
|
||||
|
||||
require("babel-register")({
|
||||
ignore: false,
|
||||
babelrc: false,
|
||||
plugins: [require("./server/translate-plugin.js")],
|
||||
presets: ["react"]
|
||||
presets: ["react", "latest", "stage-0"]
|
||||
});
|
||||
|
||||
const generate = require("./server/generate.js");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue