You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When importing factorial-components-image from remote.
$ browserify source/index.js -o public/index.js -t [ babelify --presets [ env ] ]
/Users/milanmatull/Documents/dev/web/factorial-patterns-test/node_modules/factorial-components-image/components-image.js:6
import 'picturefill';
^
ParseError: 'import' and 'export' may appear only with 'sourceType: module'
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered:
When importing
factorial-components-image
from remote.The text was updated successfully, but these errors were encountered: