Closed
Bug 1356586
Opened 7 years ago
Closed 7 years ago
Properly exclude dirs for babel transpilation
Categories
(DevTools :: Netmonitor, enhancement, P1)
DevTools
Netmonitor
Tracking
(firefox55 fixed)
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: Honza, Assigned: Honza)
References
Details
(Whiteboard: [netmonitor])
Attachments
(1 file)
This is a follow up for bug 1356146 https://bugzilla.mozilla.org/show_bug.cgi?id=1356146#c12 Webpack.config doesn't work properly in Windows. Honza
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → odvarko
Status: NEW → ASSIGNED
Flags: qe-verify-
Priority: -- → P1
Whiteboard: [netmonitor]
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8858329 [details] Bug 1356586 - Properly exclude dirs for babel transpilation; https://reviewboard.mozilla.org/r/130288/#review132978 It works on my Mac. Thanks! ::: devtools/client/netmonitor/webpack.config.js:120 (Diff revision 1) > webpackConfig.plugins = mappings.map(([regex, res]) => > new NormalModuleReplacementPlugin(regex, res)); > > -// Exclude to transplie all scripts in devtools/ but not for this folder > -webpackConfig.babelExcludes = new RegExp( > - `^${path.join(__dirname, "../../")}(.(?!${path.basename(__dirname)}))*$`); > +// Exclude to transpile all scripts in devtools/ but not for this folder > +const basePath = path.join(__dirname, "../../").replace(/\\/g, "\\\\"); > +const baseName = path.basename(__dirname); nit: remove this additional white space at `= path`
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8858329 [details] Bug 1356586 - Properly exclude dirs for babel transpilation; https://reviewboard.mozilla.org/r/130288/#review132980
Attachment #8858329 -
Flags: review?(rchien) → review+
Comment hidden (mozreview-request) |
Pushed by jodvarko@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5a844eee0974 Properly exclude dirs for babel transpilation; r=rickychien
Comment 6•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5a844eee0974
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Updated•7 years ago
|
Blocks: netmonitor-phaseII
Iteration: --- → 55.3 - Apr 17
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•