Skip to content

Commit 39f6f78

Browse files
committed
Revert static fs plugin changes
1 parent 25d65ab commit 39f6f78

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

.babelrc

-2
This file was deleted.

lib/micropython.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ var mainProgram = function()
7676

7777
Module["onRuntimeInitialized"] = mainProgram;
7878

79-
if (true) { //typeof webpackJsonp !== 'object') {
79+
if (typeof webpackJsonp !== 'object') {
8080
const fs = require('fs')
8181
const path = require('path')
8282
console.log(fs)

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
"homepage": "https://github.com/rafi16jan/micropython-wasm#readme",
2828
"dependencies": {
2929
"arraybuffer-loader": "^1.0.7",
30-
"babel-plugin-static-fs": "^1.2.0",
3130
"node-fetch": "^2.6.0",
3231
"raw-loader": "^2.0.0"
3332
}

0 commit comments

Comments
 (0)