From 9c72b8137c5769221b1eedcbd88265a432b3caa9 Mon Sep 17 00:00:00 2001 From: Christopher Chedeau Date: Fri, 15 Jul 2016 10:52:45 -0700 Subject: [PATCH] Initial commit with webpack and css/autoprefixer working --- .gitignore | 1 + build/bundle.js | 401 ++++++++++++++++++++++++++++++++++++++++++++++ cli.js | 0 index.css | 4 + index.html | 8 + index.js | 3 + package.json | 11 ++ webpack.config.js | 17 ++ 8 files changed, 445 insertions(+) create mode 100644 .gitignore create mode 100644 build/bundle.js create mode 100644 cli.js create mode 100644 index.css create mode 100644 index.html create mode 100644 index.js create mode 100644 package.json create mode 100644 webpack.config.js diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000000..c2658d7d1b3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules/ diff --git a/build/bundle.js b/build/bundle.js new file mode 100644 index 00000000000..a4ae4897220 --- /dev/null +++ b/build/bundle.js @@ -0,0 +1,401 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; + +/******/ // The require function +/******/ function __webpack_require__(moduleId) { + +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) +/******/ return installedModules[moduleId].exports; + +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ exports: {}, +/******/ id: moduleId, +/******/ loaded: false +/******/ }; + +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); + +/******/ // Flag the module as loaded +/******/ module.loaded = true; + +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } + + +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; + +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; + +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; + +/******/ // Load entry module and return exports +/******/ return __webpack_require__(0); +/******/ }) +/************************************************************************/ +/******/ ([ +/* 0 */ +/***/ function(module, exports, __webpack_require__) { + + + __webpack_require__(1); + document.write('hello'); + + +/***/ }, +/* 1 */ +/***/ function(module, exports, __webpack_require__) { + + // style-loader: Adds some css to the DOM by adding a