Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: packagerSafari.py

Issue 29549786: Issue 5535 - Replace our module system with webpack (Closed)
Patch Set: Removed ext_background workaround Created Sept. 25, 2017, 3:17 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: packagerSafari.py
diff --git a/packagerSafari.py b/packagerSafari.py
index 288ba8d467e81ecbadd6146285e8d35f0f6d09f7..241ac201e958f0f92e3c0b6ee104b01cd2b50834 100644
--- a/packagerSafari.py
+++ b/packagerSafari.py
@@ -10,7 +10,7 @@ import re
from urlparse import urlparse
from packager import readMetadata, getDefaultFileName, getBuildVersion, getTemplate, Files
-from packagerChrome import convertJS, import_locales, getIgnoredFiles, getPackageFiles, defaultLocale, createScriptPage
+from packagerChrome import create_bundles, import_locales, getIgnoredFiles, getPackageFiles, defaultLocale, createScriptPage
def processFile(path, data, params):
@@ -144,8 +144,8 @@ def createBuild(baseDir, type, outFile=None, buildNum=None, releaseBuild=False,
files.readMappedFiles(mapped)
files.read(baseDir, skip=[opt for opt, _ in mapped])
- if metadata.has_section('convert_js'):
- convertJS(params, files)
+ if metadata.has_section('bundles'):
+ create_bundles(params, files)
if metadata.has_section('preprocess'):
files.preprocess(

Powered by Google App Engine
This is Rietveld