Skip to content
This repository has been archived by the owner on Nov 16, 2019. It is now read-only.

Commit

Permalink
Add test files to fixtures folder
Browse files Browse the repository at this point in the history
  • Loading branch information
aorrego-xk committed Sep 12, 2015
1 parent 74f7c22 commit 92f642c
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
@@ -1,4 +1,5 @@
.idea
node_modules
npm-debug.log
bundle

fixtures/bundle
File renamed without changes.
12 changes: 12 additions & 0 deletions fixtures/index.html
@@ -0,0 +1,12 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Webpack Open Browser</title>
</head>
<body>

<h1>Browser Opened!</h1>

</body>
</html>
File renamed without changes.
5 changes: 3 additions & 2 deletions webpack.config.js → fixtures/webpack.config.js
@@ -1,7 +1,8 @@
var OpenBrowserPlugin = require('./index');
var path = require('path');
var OpenBrowserPlugin = require('../index');

module.exports = {
entry: './lib/entry.js',
entry: path.resolve(__dirname, 'lib/entry.js'),
output: {
path: __dirname + "/bundle/",
filename: "bundle.js"
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -4,6 +4,7 @@
"description": "Opens the browser when Webpack is ready serving your files.",
"main": "index.js",
"scripts": {
"debug": "node fixtures/debug.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
Expand Down

0 comments on commit 92f642c

Please sign in to comment.