Skip to content

Commit

Permalink
KEY-603: IE11 support (#232)
Browse files Browse the repository at this point in the history
* babel-polyfill for IE11

* babel-polyfill for IE11

* fixed css for local build

* Update CHANGELOG.md
  • Loading branch information
zxan1285 authored and shawnmclean committed Nov 28, 2018
1 parent c6c6f8e commit 77b15d7
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [Unreleased]

- `babel-polyfill` for IE11 support

## [2.5.1] - 2018-10-18

- [#230](https://github.com/auth0/auth0-authorization-extension/pull/230) - Use dedicated nonce key as `authz-nonce` to avoid collisions
Expand Down
1 change: 1 addition & 0 deletions build/webpack/config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ module.exports = {
entry: {
app: path.resolve(__dirname, '../../client/app.jsx'),
vendors: [
'babel-polyfill',
'axios',
'bluebird',
'classnames',
Expand Down
1 change: 1 addition & 0 deletions build/webpack/config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const config = require('./config.base.js');
config.devtool = 'eval-source-map';
config.debug = true;
config.entry = [
'babel-polyfill',
`webpack-dev-server/client?http://${WEBPACK_HOST}:${WEBPACK_PORT}`,
'webpack/hot/only-dev-server',
config.entry.app
Expand Down
4 changes: 4 additions & 0 deletions server/plugins/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ const assembleHtmlRoute = (link) => ({
if (locals.assets.vendors) {
locals.assets.vendors = `/app/${locals.assets.vendors}`;
}

if (locals.assets.style) {
locals.assets.style = `/app/${locals.assets.style}`;
}
}

// Render the HTML page.
Expand Down
1 change: 1 addition & 0 deletions server/views/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = `<!DOCTYPE html>
<link rel="stylesheet" type="text/css" href="https://cdn.auth0.com/styles/zocial.min.css">
<link rel="stylesheet" type="text/css" href="https://cdn.auth0.com/styleguide/4.8.10/index.min.css" />
<link rel="stylesheet" type="text/css" href="https://cdn.auth0.com/manage/v0.3.1672/css/index.min.css">
<% if (assets.style) { %><link rel="stylesheet" type="text/css" href="<%= assets.style %>"><% } %>
<% if (assets.version) { %><link rel="stylesheet" type="text/css" href="//cdn.auth0.com/extensions/auth0-authz/assets/auth0-authz.ui.<%= assets.version %>.css"><% } %>
</head>
<body>
Expand Down

0 comments on commit 77b15d7

Please sign in to comment.