Commit 7604a92c authored by Robert Knight's avatar Robert Knight

Use pre-transpiled version of dom-anchor-fragment

dom-anchor-fragment's package.json specifies that the untranspiled
source should be used in the browser, together with Browserify
configuration.

This isn't compatible with the Babelify configuration that is used to
transpile the main client's code.

Resolve the issue by configuring the client explicitly to use the
pre-transpiled version of the source in the package.
parent 4d2b79a4
...@@ -123,6 +123,7 @@ ...@@ -123,6 +123,7 @@
] ]
}, },
"browser": { "browser": {
"dom-anchor-fragment": "./node_modules/dom-anchor-fragment/dist/FragmentAnchor.js",
"hammerjs": "./node_modules/hammerjs/hammer.js", "hammerjs": "./node_modules/hammerjs/hammer.js",
"jquery": "./node_modules/jquery/dist/jquery.slim.js" "jquery": "./node_modules/jquery/dist/jquery.slim.js"
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment