daily pastebin goal
60%
SHARE
TWEET

Untitled

a guest Jan 22nd, 2019 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <html>
  2.     <head>
  3.         <style>
  4.             body {
  5.                 background-image: url("weather.png");
  6.                 background-repeat: repeat;
  7.             }
  8.         </style>
  9.  
  10.     <link rel="stylesheet" type="text/css" href="./index.css">
  11.     </head>
  12.     <body>
  13.         <h1>Hi All</h1>
  14.  
  15.     </body>
  16. </html>
  17.    
  18. "author": "",
  19.   "license": "ISC",
  20.   "dependencies": {
  21.     "babel-cli": "^6.26.0",
  22.     "babel-core": "^6.17.0",
  23.     "babel-loader": "6.2.5",
  24.     "babel-preset-env": "^1.7.0",
  25.     "babel-preset-es2015": "^6.24.1",
  26.     "babel-preset-latest": "^6.16.0",
  27.     "eslint": "^5.12.1",
  28.     "eslint-loader": "^2.1.1",
  29.     "express": "^4.16.4",
  30.     "jest": "^23.6.0",
  31.     "npm-run-all": "^4.1.5",
  32.     "open": "0.0.5",
  33.     "style-loader": "0.13.1",
  34.     "webpack": "^4.28.4",
  35.     "webpack-dev-middleware": "^3.5.1",
  36.     "webpack-hot-middleware": "^2.24.3"
  37.   },
  38.   "eslintConfig": {
  39.     "extends": [
  40.       "eslint:recommended"
  41.     ],
  42.     "parserOptions": {
  43.       "ecmaVersion": 6,
  44.       "sourceType": "module"
  45.     },
  46.     "env": {
  47.       "browser": true,
  48.       "jest": true
  49.     },
  50.     "rules": {
  51.       "no-console": "off",
  52.       "no-debugger": "warn"
  53.     }
  54.   },
  55.   "babel": {
  56.     "presets": [
  57.       "latest"
  58.     ]
  59.   }
  60.    
  61. import path from 'path';
  62. import webpack from 'webpack';
  63.  
  64. export default {
  65.   devtool: 'cheap-module-eval-source-map',
  66.   entry: [
  67.     "webpack-hot-middleware/client?reload=true",
  68.     path.resolve(__dirname, 'src/index.js')
  69.   ],
  70.   target: 'web',
  71.   output: {
  72.     path: path.resolve(__dirname, 'src'),
  73.     publicPath: '/',
  74.     filename: 'bundle.js'
  75.   },
  76.   plugins: [
  77.     new webpack.HotModuleReplacementPlugin()
  78.   ],
  79.   module: {
  80.     loaders: [
  81.       {test: /.js$/, exclude: /node_modules/, loaders: ['babel','eslint']},
  82.       {test: /.css$/, loaders: ['style','css']}
  83.     ]
  84.   }
  85. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top