brick-engine-js 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,6 @@
1
1
  import p5 from 'p5';
2
2
  import Game from './core/Game';
3
3
  import GameView from './view/GameView';
4
- import './config/styles';
5
4
  /**
6
5
  * Represents a constructor for a game class.
7
6
  *
@@ -79,18 +79,6 @@ __webpack_require__.r(__webpack_exports__);
79
79
  // extracted by mini-css-extract-plugin
80
80
 
81
81
 
82
- /***/ },
83
-
84
- /***/ 257
85
- (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
86
-
87
- /**
88
- * Dynamically load all CSS files from the public/style directory.
89
- * This allows Webpack to bundle them without needing explicit imports for each file.
90
- */
91
- __webpack_require__(881);
92
-
93
-
94
82
  /***/ },
95
83
 
96
84
  /***/ 881
@@ -128,6 +116,21 @@ webpackContext.id = 881;
128
116
 
129
117
  /***/ },
130
118
 
119
+ /***/ 589
120
+ (module) {
121
+
122
+ function webpackEmptyContext(req) {
123
+ var e = new Error("Cannot find module '" + req + "'");
124
+ e.code = 'MODULE_NOT_FOUND';
125
+ throw e;
126
+ }
127
+ webpackEmptyContext.keys = () => ([]);
128
+ webpackEmptyContext.resolve = webpackEmptyContext;
129
+ webpackEmptyContext.id = 589;
130
+ module.exports = webpackEmptyContext;
131
+
132
+ /***/ },
133
+
131
134
  /***/ 991
132
135
  (module) {
133
136
 
@@ -4904,8 +4907,6 @@ var GameMenu = /** @class */ (function (_super) {
4904
4907
  }(core_Game));
4905
4908
  /* harmony default export */ const menu_GameMenu = (GameMenu);
4906
4909
 
4907
- // EXTERNAL MODULE: ./src/config/styles.ts
4908
- var styles = __webpack_require__(257);
4909
4910
  ;// ./src/menu/GameMenuSingleton.ts
4910
4911
  /**
4911
4912
  * Singleton manager for the Game Menu instance.
@@ -4951,7 +4952,6 @@ var GameMenuSingleton = /** @class */ (function () {
4951
4952
 
4952
4953
 
4953
4954
 
4954
-
4955
4955
  var _game;
4956
4956
  var _p;
4957
4957
  /**
@@ -5004,6 +5004,9 @@ var _switchHandler = function (newGame) {
5004
5004
  * @returns {p5} The p5 instance.
5005
5005
  */
5006
5006
  function bootstrap(ClientGame) {
5007
+ if (typeof __webpack_require__(589).context === 'function') {
5008
+ __webpack_require__(881);
5009
+ }
5007
5010
  return new (external_p5_default())(function (p) {
5008
5011
  _p = p;
5009
5012
  var view = new view_GameView(p, document.body);