Skip to content

Commit 3a5c602

Browse files
committed
HACK: webpack-only hack for !arraybuffer-loader!./micropython.binary
1 parent 5954195 commit 3a5c602

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/micropython.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ if (typeof webpackJsonp !== 'object') {
8484
Module.emterpreterFile = file.buffer.slice(file.byteOffset, file.byteOffset + file.byteLength);
8585
}
8686
else {
87-
Module.emterpreterFile = require('!arraybuffer-loader!./micropython.binary');
87+
Module.emterpreterFile = require('!arraybuffer-loader!' + './micropython.binary');
8888
}
8989
// Copyright 2010 The Emscripten Authors. All rights reserved.
9090
// Emscripten is available under two separate licenses, the MIT license and the

0 commit comments

Comments
 (0)