.github
cypress
dev-test
img
packages
scripts
website
content
data
src
static
.babelrc
.gitignore
.nvmrc
.stylelintrc
README.md
gatsby-browser.js
gatsby-config.js
gatsby-node.js
package.json
postcss.config.js
yarn.lock
.all-contributorsrc
.editorconfig
.eslintrc
.gitignore
.nvmrc
.prettierignore
.prettierrc
.stylelintrc
.travis.yml
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
babel.config.js
custom-preprocessor.js
cypress.json
jest.config.js
lerna.json
package.json
renovate.json
setupTestFramework.js
yarn.lock
* make widget docs editable * update widget doc frontmatter keys * improve docs preview * fix formatting * fix preview * add prism highlighting for previews * fix formatting * restore cms branch
47 lines
877 B
Plaintext
47 lines
877 B
Plaintext
{
|
|
presets: [
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
loose: true,
|
|
modules: false,
|
|
useBuiltIns: "usage",
|
|
shippedProposals: true,
|
|
targets: {
|
|
browsers: [">0.25%", "not dead"],
|
|
},
|
|
},
|
|
],
|
|
[
|
|
"@babel/preset-react",
|
|
{
|
|
useBuiltIns: true,
|
|
pragma: "React.createElement",
|
|
},
|
|
],
|
|
],
|
|
plugins: [
|
|
["prismjs", {
|
|
"languages": ["javascript", "css", "markup", "yaml", "json"],
|
|
"plugins": ["line-numbers"],
|
|
"theme": "tomorrow",
|
|
"css": true,
|
|
}],
|
|
[
|
|
"@babel/plugin-proposal-class-properties",
|
|
{
|
|
loose: true,
|
|
},
|
|
],
|
|
"@babel/plugin-syntax-dynamic-import",
|
|
"babel-plugin-macros",
|
|
[
|
|
"@babel/plugin-transform-runtime",
|
|
{
|
|
helpers: true,
|
|
regenerator: true,
|
|
},
|
|
],
|
|
],
|
|
}
|