Skip to content

Commit

Permalink
fix: refactor loader, fix issue with caching and watching missing files
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey committed Aug 6, 2020
1 parent 9381814 commit c1af31a
Show file tree
Hide file tree
Showing 10 changed files with 176 additions and 202 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,11 @@
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

if (window.$mwp_testruntime) __webpack_require__.p = $mwp_testruntime;
__webpack_require__(/*! ./test.marko?dependencies */ "./src/__tests__/fixtures/basic-template-plugin-custom-runtime-id/test.marko?dependencies");
const { init } = __webpack_require__(/*! marko/components */ "marko/components");
uinit("testruntime");

if (window.$mwp_testruntime) __webpack_require__.p = $mwp_testruntime;
__webpack_require__(/*! ./test.marko?dependencies */ "./src/__tests__/fixtures/basic-template-plugin-custom-runtime-id/test.marko?dependencies");

const { init } = __webpack_require__(/*! marko/components */ "marko/components");
init("testruntime");




/***/ }),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

if (window.$mwp) __webpack_require__.p = $mwp;
__webpack_require__(/*! ./test.marko?dependencies */ "./src/__tests__/fixtures/basic-template-plugin/test.marko?dependencies");
window.$initComponents && $initComponents();

if (window.$mwp) __webpack_require__.p = $mwp;
__webpack_require__(/*! ./test.marko?dependencies */ "./src/__tests__/fixtures/basic-template-plugin/test.marko?dependencies");
window.$initComponents && $initComponents();



/***/ })

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@ __webpack_require__(/*! ./components/shared.marko?dependencies */ "./src/__tests
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

if (window.$mwp) __webpack_require__.p = $mwp;
__webpack_require__(/*! ./bar.marko?dependencies */ "./src/__tests__/fixtures/multiple-entries-plugin/bar.marko?dependencies");
window.$initComponents && $initComponents();

if (window.$mwp) __webpack_require__.p = $mwp;
__webpack_require__(/*! ./bar.marko?dependencies */ "./src/__tests__/fixtures/multiple-entries-plugin/bar.marko?dependencies");
window.$initComponents && $initComponents();



/***/ })

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@ __webpack_require__(/*! ./components/shared.marko?dependencies */ "./src/__tests
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

if (window.$mwp) __webpack_require__.p = $mwp;
__webpack_require__(/*! ./foo.marko?dependencies */ "./src/__tests__/fixtures/multiple-entries-plugin/foo.marko?dependencies");
window.$initComponents && $initComponents();

if (window.$mwp) __webpack_require__.p = $mwp;
__webpack_require__(/*! ./foo.marko?dependencies */ "./src/__tests__/fixtures/multiple-entries-plugin/foo.marko?dependencies");
window.$initComponents && $initComponents();



/***/ })

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ marko_template.Component = marko_defineComponent(marko_component, marko_template
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

__webpack_require__(/*! ./index.marko */ "./src/__tests__/fixtures/with-class-component-plugin-dynamic-bundle/components/nested/index.marko");
__webpack_require__(/*! ./style.css */ "./src/__tests__/fixtures/with-class-component-plugin-dynamic-bundle/components/nested/style.css");
__webpack_require__(/*! ./index.marko */ "./src/__tests__/fixtures/with-class-component-plugin-dynamic-bundle/components/nested/index.marko");

/***/ }),

Expand Down Expand Up @@ -98,12 +98,10 @@ __webpack_require__(/*! ./components/nested/index.marko?dependencies */ "./src/_
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

if (window.$mwp) __webpack_require__.p = $mwp;
__webpack_require__(/*! ./test.marko?dependencies */ "./src/__tests__/fixtures/with-class-component-plugin-dynamic-bundle/test.marko?dependencies");
window.$initComponents && $initComponents();

if (window.$mwp) __webpack_require__.p = $mwp;
__webpack_require__(/*! ./test.marko?dependencies */ "./src/__tests__/fixtures/with-class-component-plugin-dynamic-bundle/test.marko?dependencies");
window.$initComponents && $initComponents();



/***/ }),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ marko_template.Component = marko_defineComponent(marko_component, marko_template
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

__webpack_require__(/*! ./index.marko */ "./src/__tests__/fixtures/with-class-component-plugin-dynamic-bundle/components/nested/index.marko");
__webpack_require__(/*! ./style.css */ "./src/__tests__/fixtures/with-class-component-plugin-dynamic-bundle/components/nested/style.css");
__webpack_require__(/*! ./index.marko */ "./src/__tests__/fixtures/with-class-component-plugin-dynamic-bundle/components/nested/index.marko");

/***/ }),

Expand Down Expand Up @@ -98,12 +98,10 @@ __webpack_require__(/*! ./components/nested/index.marko?dependencies */ "./src/_
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

if (window.$mwp) __webpack_require__.p = $mwp;
__webpack_require__(/*! ./test.marko?dependencies */ "./src/__tests__/fixtures/with-class-component-plugin-dynamic-bundle/test.marko?dependencies");
window.$initComponents && $initComponents();

if (window.$mwp) __webpack_require__.p = $mwp;
__webpack_require__(/*! ./test.marko?dependencies */ "./src/__tests__/fixtures/with-class-component-plugin-dynamic-bundle/test.marko?dependencies");
window.$initComponents && $initComponents();



/***/ }),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ marko_template.Component = marko_defineComponent(marko_component, marko_template
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

__webpack_require__(/*! ./index.marko */ "./src/__tests__/fixtures/with-class-component-plugin-dynamic-bundle/components/nested/index.marko");
__webpack_require__(/*! ./style.css */ "./src/__tests__/fixtures/with-class-component-plugin-dynamic-bundle/components/nested/style.css");
__webpack_require__(/*! ./index.marko */ "./src/__tests__/fixtures/with-class-component-plugin-dynamic-bundle/components/nested/index.marko");

/***/ }),

Expand Down Expand Up @@ -98,12 +98,10 @@ __webpack_require__(/*! ./components/nested/index.marko?dependencies */ "./src/_
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

if (window.$mwp) __webpack_require__.p = $mwp;
__webpack_require__(/*! ./test.marko?dependencies */ "./src/__tests__/fixtures/with-class-component-plugin-dynamic-bundle/test.marko?dependencies");
window.$initComponents && $initComponents();

if (window.$mwp) __webpack_require__.p = $mwp;
__webpack_require__(/*! ./test.marko?dependencies */ "./src/__tests__/fixtures/with-class-component-plugin-dynamic-bundle/test.marko?dependencies");
window.$initComponents && $initComponents();



/***/ }),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ marko_template.Component = marko_defineComponent(marko_component, marko_template
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

__webpack_require__(/*! ./index.marko */ "./src/__tests__/fixtures/with-class-component-plugin/components/nested/index.marko");
__webpack_require__(/*! ./style.css */ "./src/__tests__/fixtures/with-class-component-plugin/components/nested/style.css");
__webpack_require__(/*! ./index.marko */ "./src/__tests__/fixtures/with-class-component-plugin/components/nested/index.marko");

/***/ }),

Expand Down Expand Up @@ -96,12 +96,10 @@ __webpack_require__(/*! ./components/nested/index.marko?dependencies */ "./src/_
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

if (window.$mwp) __webpack_require__.p = $mwp;
__webpack_require__(/*! ./test.marko?dependencies */ "./src/__tests__/fixtures/with-class-component-plugin/test.marko?dependencies");
window.$initComponents && $initComponents();

if (window.$mwp) __webpack_require__.p = $mwp;
__webpack_require__(/*! ./test.marko?dependencies */ "./src/__tests__/fixtures/with-class-component-plugin/test.marko?dependencies");
window.$initComponents && $initComponents();



/***/ }),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,9 @@
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

__webpack_require__(/*! ./test.marko?dependencies */ "./src/__tests__/fixtures/with-public-path/test.marko?dependencies");
window.$initComponents && $initComponents();


__webpack_require__(/*! ./test.marko?dependencies */ "./src/__tests__/fixtures/with-public-path/test.marko?dependencies");
window.$initComponents && $initComponents();



/***/ })

Expand Down
Loading

0 comments on commit c1af31a

Please sign in to comment.