Fix the Content API module on IE11

This commit is contained in:
Eduardo Gomez 2019-10-02 16:43:48 +02:00
parent 158b22b851
commit 7ee9cea0d4
7 changed files with 101 additions and 511 deletions

View file

@ -54,6 +54,7 @@
{{> footer}}
{{!-- Common scripts shared between pages --}}
<script defer src="https://unpkg.com/@tryghost/content-api@1.2.7/umd/content-api.min.js"></script>
<script defer src="{{asset "js/manifest.js"}}"></script>
<script defer src="{{asset "js/polyfill.js"}}"></script>
<script defer src="{{asset "js/vendor.js"}}"></script>

View file

@ -54,5 +54,5 @@
"desktop": "assets/screenshot-desktop.jpg",
"mobile": "assets/screenshot-mobile.jpg"
},
"version": "0.4.2"
"version": "0.4.3"
}

View file

@ -2,7 +2,6 @@ import $ from 'jquery'
import slick from 'slick-carousel'
import tippy from 'tippy.js'
import AOS from 'aos'
import GhostContentAPI from '@tryghost/content-api'
import Fuse from 'fuse.js'
$(document).ready(() => {

604
src/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -27,7 +27,6 @@
"vue-template-compiler": "^2.6.10"
},
"dependencies": {
"@tryghost/content-api": "^1.0.0",
"aos": "^2.3.4",
"fitvids": "^2.0.0",
"fuse.js": "^3.4.2",

View file

@ -64,4 +64,4 @@
@import"components/404/text";
@import "libs/slick";
@import "libs/aos/aos"
@import "libs/aos/aos";

View file

@ -5,7 +5,6 @@ mix.webpackConfig({
rules: [
{
test: /\.jsx?$/,
exclude: [/node_modules\/(?!(@tryghost)\/).*/],
use: [
{
loader: 'babel-loader',