add js dev model
This commit is contained in:
@@ -241,6 +241,9 @@ def updateappjscss(app,uploads,c:config.KINTONE_ENV):
|
|||||||
for upload in uploads:
|
for upload in uploads:
|
||||||
for key in upload:
|
for key in upload:
|
||||||
if key.endswith('.js'):
|
if key.endswith('.js'):
|
||||||
|
if (key.endswith('alc_runtime.js') and config.DEPLOY_MODE == "DEV"):
|
||||||
|
dsjs.append({'type':'URL','url':config.DEPLOY_JS_URL})
|
||||||
|
else:
|
||||||
dsjs.append({'type':'FILE','file':{'fileKey':upload[key]}})
|
dsjs.append({'type':'FILE','file':{'fileKey':upload[key]}})
|
||||||
elif key.endswith('.css'):
|
elif key.endswith('.css'):
|
||||||
dscss.append({'type':'FILE','file':{'fileKey':upload[key]}})
|
dscss.append({'type':'FILE','file':{'fileKey':upload[key]}})
|
||||||
|
|||||||
Reference in New Issue
Block a user