mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 20:25:48 +00:00
build: include lodash in webpack build (#1500)
* build: include lodash in webpack build
This commit is contained in:
@@ -9,7 +9,6 @@
|
|||||||
<div id="mocha"></div>
|
<div id="mocha"></div>
|
||||||
<script src="../node_modules/mocha/mocha.js"></script>
|
<script src="../node_modules/mocha/mocha.js"></script>
|
||||||
<script src="hacks/phantomhacks.js"></script>
|
<script src="hacks/phantomhacks.js"></script>
|
||||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.20/lodash.min.js" integrity="sha512-90vH1Z83AJY9DmlWa8WkjkV79yfS2n2Oxhsi2dZbIv0nC4E6m5AbH8Nh156kkM7JePmqD6tcZsfad1ueoaovww==" crossorigin="anonymous"></script>
|
|
||||||
<script src="../build/ripple-latest.js"></script>
|
<script src="../build/ripple-latest.js"></script>
|
||||||
<script>
|
<script>
|
||||||
if (window.initMochaPhantomJS) {
|
if (window.initMochaPhantomJS) {
|
||||||
|
|||||||
@@ -9,9 +9,6 @@ function getDefaultConfiguration() {
|
|||||||
cache: true,
|
cache: true,
|
||||||
performance: { hints: false },
|
performance: { hints: false },
|
||||||
stats: 'errors-only',
|
stats: 'errors-only',
|
||||||
externals: [{
|
|
||||||
'lodash': '_'
|
|
||||||
}],
|
|
||||||
entry: './dist/npm/index.js',
|
entry: './dist/npm/index.js',
|
||||||
output: {
|
output: {
|
||||||
library: 'ripple',
|
library: 'ripple',
|
||||||
|
|||||||
Reference in New Issue
Block a user