Skip to content

Commit

Permalink
add .npmignore
Browse files Browse the repository at this point in the history
  • Loading branch information
40818419 committed Nov 11, 2018
1 parent 7c401ba commit 55b8c0d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .npmignore
@@ -0,0 +1,3 @@
node_modules/
src/
index.js
2 changes: 1 addition & 1 deletion src/index.js
@@ -1,7 +1,7 @@
import fs from 'fs';
import path from 'path';

import sitemap from '../node_modules/sitemap';
import sitemap from 'sitemap';

import parseRoutes from './routes-parser';
import buildSitemap from './sitemap-builder';
Expand Down
2 changes: 1 addition & 1 deletion src/sitemap-builder.js
@@ -1,4 +1,4 @@
import sitemap from '../node_modules/sitemap';
import sitemap from 'sitemap';

const buildSitemap = (hostname = 'http://localhost', paths = []) => {
return sitemap.createSitemap({
Expand Down

0 comments on commit 55b8c0d

Please sign in to comment.