Commit 83864c9b by zhanghaozhe

build

parent b5c1f9ab
......@@ -3,8 +3,8 @@
"coupons.js": "/static/js/coupons.6a94a878.chunk.js",
"coupons.js.map": "/static/js/coupons.6a94a878.chunk.js.map",
"main.css": "/static/css/main.b5afd96d.chunk.css",
"main.js": "/static/js/main.ceb399ef.chunk.js",
"main.js.map": "/static/js/main.ceb399ef.chunk.js.map",
"main.js": "/static/js/main.84baaca1.chunk.js",
"main.js.map": "/static/js/main.84baaca1.chunk.js.map",
"myorders.css": "/static/css/myorders.a2105bb7.chunk.css",
"myorders.js": "/static/js/myorders.9736dcd8.chunk.js",
"myorders.js.map": "/static/js/myorders.9736dcd8.chunk.js.map",
......@@ -34,7 +34,7 @@
"static/js/11.a116d384.chunk.js": "/static/js/11.a116d384.chunk.js",
"static/js/11.a116d384.chunk.js.map": "/static/js/11.a116d384.chunk.js.map",
"index.html": "/index.html",
"precache-manifest.c9bf62a0d7a0716e16855cb23db821f6.js": "/precache-manifest.c9bf62a0d7a0716e16855cb23db821f6.js",
"precache-manifest.f28527c7a24f858d1cca3b9d641097d4.js": "/precache-manifest.f28527c7a24f858d1cca3b9d641097d4.js",
"service-worker.js": "/service-worker.js",
"static/css/10.a22277b5.chunk.css.map": "/static/css/10.a22277b5.chunk.css.map",
"static/css/9.adf01ff4.chunk.css.map": "/static/css/9.adf01ff4.chunk.css.map",
......
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no,user-scalable=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/manifest.json"/><title>React App</title><link href="/static/css/9.adf01ff4.chunk.css" rel="stylesheet"><link href="/static/css/main.b5afd96d.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(c){function e(e){for(var t,r,n=e[0],o=e[1],a=e[2],u=0,i=[];u<n.length;u++)r=n[u],d[r]&&i.push(d[r][0]),d[r]=0;for(t in o)Object.prototype.hasOwnProperty.call(o,t)&&(c[t]=o[t]);for(h&&h(e);i.length;)i.shift()();return f.push.apply(f,a||[]),s()}function s(){for(var e,t=0;t<f.length;t++){for(var r=f[t],n=!0,o=1;o<r.length;o++){var a=r[o];0!==d[a]&&(n=!1)}n&&(f.splice(t--,1),e=p(p.s=r[0]))}return e}var r={},l={4:0},d={4:0},f=[];function p(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return c[e].call(t.exports,t,t.exports,p),t.l=!0,t.exports}p.e=function(f){var e=[];l[f]?e.push(l[f]):0!==l[f]&&{0:1,2:1,3:1,5:1,6:1,7:1,8:1,10:1}[f]&&e.push(l[f]=new Promise(function(e,n){for(var t="static/css/"+({0:"coupons",2:"myorders",3:"purchased",5:"shareposter",6:"study",7:"togroup",8:"video"}[f]||f)+"."+{0:"80a37fa9",2:"a2105bb7",3:"b2f532cf",5:"1e4e3b72",6:"ee19c63e",7:"aad6a793",8:"aeffe18e",10:"a22277b5",11:"31d6cfe0"}[f]+".chunk.css",o=p.p+t,r=document.getElementsByTagName("link"),a=0;a<r.length;a++){var u=(c=r[a]).getAttribute("data-href")||c.getAttribute("href");if("stylesheet"===c.rel&&(u===t||u===o))return e()}var i=document.getElementsByTagName("style");for(a=0;a<i.length;a++){var c;if((u=(c=i[a]).getAttribute("data-href"))===t||u===o)return e()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=e,s.onerror=function(e){var t=e&&e.target&&e.target.src||o,r=new Error("Loading CSS chunk "+f+" failed.\n("+t+")");r.request=t,delete l[f],s.parentNode.removeChild(s),n(r)},s.href=o,document.getElementsByTagName("head")[0].appendChild(s)}).then(function(){l[f]=0}));var r=d[f];if(0!==r)if(r)e.push(r[2]);else{var t=new Promise(function(e,t){r=d[f]=[e,t]});e.push(r[2]=t);var n,a=document.createElement("script");a.charset="utf-8",a.timeout=120,p.nc&&a.setAttribute("nonce",p.nc),a.src=p.p+"static/js/"+({0:"coupons",2:"myorders",3:"purchased",5:"shareposter",6:"study",7:"togroup",8:"video"}[f]||f)+"."+{0:"6a94a878",2:"9736dcd8",3:"380e692a",5:"5e83848f",6:"becfeee6",7:"6905e23b",8:"1b371a9a",10:"38fa9101",11:"a116d384"}[f]+".chunk.js",n=function(e){a.onerror=a.onload=null,clearTimeout(u);var t=d[f];if(0!==t){if(t){var r=e&&("load"===e.type?"missing":e.type),n=e&&e.target&&e.target.src,o=new Error("Loading chunk "+f+" failed.\n("+r+": "+n+")");o.type=r,o.request=n,t[1](o)}d[f]=void 0}};var u=setTimeout(function(){n({type:"timeout",target:a})},12e4);a.onerror=a.onload=n,document.head.appendChild(a)}return Promise.all(e)},p.m=c,p.c=r,p.d=function(e,t,r){p.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},p.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},p.t=function(t,e){if(1&e&&(t=p(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(p.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)p.d(r,n,function(e){return t[e]}.bind(null,n));return r},p.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return p.d(t,"a",t),t},p.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},p.p="/",p.oe=function(e){throw console.error(e),e};var t=window.webpackJsonp=window.webpackJsonp||[],n=t.push.bind(t);t.push=e,t=t.slice();for(var o=0;o<t.length;o++)e(t[o]);var h=n;s()}([])</script><script src="/static/js/9.0d233def.chunk.js"></script><script src="/static/js/main.ceb399ef.chunk.js"></script></body></html>
\ No newline at end of file
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no,user-scalable=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/manifest.json"/><title>React App</title><link href="/static/css/9.adf01ff4.chunk.css" rel="stylesheet"><link href="/static/css/main.b5afd96d.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(c){function e(e){for(var t,r,n=e[0],o=e[1],a=e[2],u=0,i=[];u<n.length;u++)r=n[u],d[r]&&i.push(d[r][0]),d[r]=0;for(t in o)Object.prototype.hasOwnProperty.call(o,t)&&(c[t]=o[t]);for(h&&h(e);i.length;)i.shift()();return f.push.apply(f,a||[]),s()}function s(){for(var e,t=0;t<f.length;t++){for(var r=f[t],n=!0,o=1;o<r.length;o++){var a=r[o];0!==d[a]&&(n=!1)}n&&(f.splice(t--,1),e=p(p.s=r[0]))}return e}var r={},l={4:0},d={4:0},f=[];function p(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return c[e].call(t.exports,t,t.exports,p),t.l=!0,t.exports}p.e=function(f){var e=[];l[f]?e.push(l[f]):0!==l[f]&&{0:1,2:1,3:1,5:1,6:1,7:1,8:1,10:1}[f]&&e.push(l[f]=new Promise(function(e,n){for(var t="static/css/"+({0:"coupons",2:"myorders",3:"purchased",5:"shareposter",6:"study",7:"togroup",8:"video"}[f]||f)+"."+{0:"80a37fa9",2:"a2105bb7",3:"b2f532cf",5:"1e4e3b72",6:"ee19c63e",7:"aad6a793",8:"aeffe18e",10:"a22277b5",11:"31d6cfe0"}[f]+".chunk.css",o=p.p+t,r=document.getElementsByTagName("link"),a=0;a<r.length;a++){var u=(c=r[a]).getAttribute("data-href")||c.getAttribute("href");if("stylesheet"===c.rel&&(u===t||u===o))return e()}var i=document.getElementsByTagName("style");for(a=0;a<i.length;a++){var c;if((u=(c=i[a]).getAttribute("data-href"))===t||u===o)return e()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=e,s.onerror=function(e){var t=e&&e.target&&e.target.src||o,r=new Error("Loading CSS chunk "+f+" failed.\n("+t+")");r.request=t,delete l[f],s.parentNode.removeChild(s),n(r)},s.href=o,document.getElementsByTagName("head")[0].appendChild(s)}).then(function(){l[f]=0}));var r=d[f];if(0!==r)if(r)e.push(r[2]);else{var t=new Promise(function(e,t){r=d[f]=[e,t]});e.push(r[2]=t);var n,a=document.createElement("script");a.charset="utf-8",a.timeout=120,p.nc&&a.setAttribute("nonce",p.nc),a.src=p.p+"static/js/"+({0:"coupons",2:"myorders",3:"purchased",5:"shareposter",6:"study",7:"togroup",8:"video"}[f]||f)+"."+{0:"6a94a878",2:"9736dcd8",3:"380e692a",5:"5e83848f",6:"becfeee6",7:"6905e23b",8:"1b371a9a",10:"38fa9101",11:"a116d384"}[f]+".chunk.js",n=function(e){a.onerror=a.onload=null,clearTimeout(u);var t=d[f];if(0!==t){if(t){var r=e&&("load"===e.type?"missing":e.type),n=e&&e.target&&e.target.src,o=new Error("Loading chunk "+f+" failed.\n("+r+": "+n+")");o.type=r,o.request=n,t[1](o)}d[f]=void 0}};var u=setTimeout(function(){n({type:"timeout",target:a})},12e4);a.onerror=a.onload=n,document.head.appendChild(a)}return Promise.all(e)},p.m=c,p.c=r,p.d=function(e,t,r){p.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},p.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},p.t=function(t,e){if(1&e&&(t=p(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(p.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)p.d(r,n,function(e){return t[e]}.bind(null,n));return r},p.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return p.d(t,"a",t),t},p.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},p.p="/",p.oe=function(e){throw console.error(e),e};var t=window.webpackJsonp=window.webpackJsonp||[],n=t.push.bind(t);t.push=e,t=t.slice();for(var o=0;o<t.length;o++)e(t[o]);var h=n;s()}([])</script><script src="/static/js/9.0d233def.chunk.js"></script><script src="/static/js/main.84baaca1.chunk.js"></script></body></html>
\ No newline at end of file
self.__precacheManifest = [
{
"revision": "63eb75f7dcf2f5ec6947",
"url": "/static/css/togroup.aad6a793.chunk.css"
},
{
"revision": "9e4c22464e1a4b2f682e",
"url": "/static/css/coupons.80a37fa9.chunk.css"
},
{
"revision": "91ef888c46dd5bab3fd5",
"url": "/static/css/main.b5afd96d.chunk.css"
},
{
"revision": "91ef888c46dd5bab3fd5",
"url": "/static/js/main.ceb399ef.chunk.js"
},
{
"revision": "ee8d19d29aa0773edd20",
"url": "/static/css/myorders.a2105bb7.chunk.css"
},
{
"revision": "ee8d19d29aa0773edd20",
"url": "/static/js/myorders.9736dcd8.chunk.js"
},
{
"revision": "72e8e3fd6dd1ac0e6cc1",
"url": "/static/css/purchased.b2f532cf.chunk.css"
},
{
"revision": "72e8e3fd6dd1ac0e6cc1",
"url": "/static/js/purchased.380e692a.chunk.js"
},
{
"revision": "bbe83ed2af87290c3d17",
"url": "/static/js/runtime~main.5f1d1d55.js"
},
{
"revision": "488463ee20913b043dbc",
"url": "/static/css/shareposter.1e4e3b72.chunk.css"
},
{
"revision": "488463ee20913b043dbc",
"url": "/static/js/shareposter.5e83848f.chunk.js"
},
{
"revision": "757e4cc1e060da33fa54",
"url": "/static/css/study.ee19c63e.chunk.css"
},
{
"revision": "757e4cc1e060da33fa54",
"url": "/static/js/study.becfeee6.chunk.js"
},
{
"revision": "9e4c22464e1a4b2f682e",
"url": "/static/js/coupons.6a94a878.chunk.js"
},
{
"revision": "63eb75f7dcf2f5ec6947",
"url": "/static/js/togroup.6905e23b.chunk.js"
},
{
"revision": "b76b7b9770ddb74911de",
"url": "/static/css/video.aeffe18e.chunk.css"
},
{
"revision": "b76b7b9770ddb74911de",
"url": "/static/js/video.1b371a9a.chunk.js"
},
{
"revision": "c8b2c37ec2ac7323c8f8657bcb61324c",
"url": "/static/media/iconfont.c8b2c37e.svg"
},
{
"revision": "2ec1f58a0c3d9b669cc9",
"url": "/static/js/9.0d233def.chunk.js"
},
{
"revision": "6d0ba0d457675abacadaae1a7e6f5d63",
"url": "/static/media/iconfont.6d0ba0d4.ttf"
},
{
"revision": "2a19ca991f287af0e005",
"url": "/static/js/10.38fa9101.chunk.js"
},
{
"revision": "9412cc416f9f7442f50e",
"url": "/static/js/11.a116d384.chunk.js"
},
{
"revision": "7480635194e4e75415960a985825e18c",
"url": "/static/media/iconfont.74806351.woff"
},
{
"revision": "66125e8a7120d1dcbfa5741f8dce72a2",
"url": "/static/media/iconfont.66125e8a.eot"
},
{
"revision": "2ec1f58a0c3d9b669cc9",
"url": "/static/css/9.adf01ff4.chunk.css"
},
{
"revision": "2a19ca991f287af0e005",
"url": "/static/css/10.a22277b5.chunk.css"
},
{
"revision": "55e41e416a5acc0f831bee636e35a781",
"url": "/index.html"
}
];
\ No newline at end of file
......@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts(
"/precache-manifest.c9bf62a0d7a0716e16855cb23db821f6.js"
"/precache-manifest.f28527c7a24f858d1cca3b9d641097d4.js"
);
workbox.clientsClaim();
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -3,6 +3,7 @@
// Do this as the first thing so that any code reading it knows the right env.
process.env.BABEL_ENV = 'production';
process.env.NODE_ENV = 'production';
process.env.BUILD_ENV = 'pre'
// Makes the script crash on unhandled rejections instead of silently
// ignoring them. In the future, promise rejections that are not handled will
......
......@@ -3,6 +3,7 @@
// Do this as the first thing so that any code reading it knows the right env.
process.env.BABEL_ENV = 'development';
process.env.NODE_ENV = 'development';
process.env.BUILD_ENV = 'development';
// Makes the script crash on unhandled rejections instead of silently
// ignoring them. In the future, promise rejections that are not handled will
......
......@@ -4,7 +4,7 @@ let api = {}
Object.keys(config).forEach(item => {
if(item !== 'proxy'){
api[item] = config[item][process.env.NODE_ENV]
api[item] = config[item][process.env.BUILD_ENV]
}
})
......
......@@ -2,6 +2,7 @@ const config = {
home: {
development: '/api',
test: 'http://fast-test.julyedu.com',
pre: 'http://fast-pre.julyedu.com',
production: 'https://m.julyedu.com',
proxy: {}
},
......@@ -11,29 +12,24 @@ const config = {
production: 'https://search.julyedu.com',
proxy: {}
},
v2: {
development: '/v2',
test: 'https://v2.julyedu.com',
production: 'https://v2.julyedu.com',
proxy: {
secure: false,
}
},
'passport-api': {
development: '/passport-api',
test: 'http://passport-test.julyedu.com',
pre: 'http://passport-pre.julyedu.com',
production: 'http://passport.julyedu.com',
proxy: {}
},
'pay-api': {
development: '/pay-api',
test: 'http://api-test.julyedu.com',
pre: 'http://api-pre.julyedu.com',
production: 'https://api.julyedu.com',
proxy: {}
},
'base-api': {
development: '/base-api',
test: 'http://api-test.julyedu.com',
pre: 'http://api-pre.julyedu.com',
production: 'https://api.julyedu.com',
proxy: {
secure: false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment