Skip to content

Commit

Permalink
[docs] IE11 2nd iteration
Browse files Browse the repository at this point in the history
The live docs is now working on IE11 but I had to locally tweak
ReactTransitionGroup.

Related to mui#6422
  • Loading branch information
oliviertassinari committed Apr 15, 2017
1 parent 784104c commit 6ad3354
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"material-ui": "material-ui-1dab0"
}
}
6 changes: 6 additions & 0 deletions database.rules.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"rules": {
".read": "auth != null",
".write": "auth != null"
}
}
1 change: 0 additions & 1 deletion docs/.babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"production": {
"plugins": [
"transform-react-constant-elements",
"transform-react-inline-elements",
"transform-dev-warning",
"transform-runtime",
["react-remove-properties", {"properties": ["data-mui-test"]}],
Expand Down
2 changes: 0 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-loader": "^6.4.1",
"babel-plugin-transform-react-inline-elements": "^6.22.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"cross-env": "^4.0.0",
"css-loader": "^0.28.0",
"es6-symbol": "^3.1.1",
"file-loader": "^0.11.1",
"img-loader": "^2.0.0",
"object-assign": "^4.1.1",
Expand Down
4 changes: 0 additions & 4 deletions docs/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ import ReactPerf from 'react-addons-perf';
import { render } from 'react-dom';
import App from 'docs/src/components/App';

// Global polyfill for Symbol
// https://github.com/callemall/material-ui/issues/6422
import 'es6-symbol/implement';

// Warns about potential accessibility issues with your React elements.
//
// import a11y from 'react-a11y';
Expand Down
17 changes: 17 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"database": {
"rules": "database.rules.json"
},
"hosting": {
"public": "docs",
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
],
"ignore": [
"**/node_modules/**"
]
}
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "material-ui-build",
"name": "material-ui-build-next",
"private": true,
"author": "Material-UI Team",
"version": "1.0.0-alpha.11",
Expand All @@ -21,6 +21,7 @@
},
"homepage": "http://material-ui.com/",
"scripts": {
"deploy": "cd docs && yarn build && firebase deploy",
"build": "npm run build:es2015 && npm run build:es2015modules && npm run build:copy-files && npm run build:umd:dev && npm run build:umd:min",
"build:es2015": "cross-env NODE_ENV=production babel ./src --ignore *.spec.js --out-dir ./build",
"build:es2015modules": "cross-env NODE_ENV=production BABEL_ENV=modules babel ./src/index.js --out-file ./build/index.es.js",
Expand Down

0 comments on commit 6ad3354

Please sign in to comment.