marko-js / webpack

A loader for marko files and a plugin for universal bundling
MIT License
13 stars 4 forks source link

fix: improve support for browser json dependencies if supported #13

Closed DylanPiercey closed 5 years ago

DylanPiercey commented 5 years ago

Description

Currently Marko adds browser.json files to the list of deps which are used to determine the browser dependencies for a template. Currently this errors in webpack. This PR updates the Marko loader to allow for browser.json dependencies if it detects that the (soon to be released) browser json plugin is installed.

This improves the migration experience from lasso.

Checklist: