Skip to content

Commit

Permalink
Merge pull request #9 from bitjourney/fix_sourcemap
Browse files Browse the repository at this point in the history
Fix generated sourcemap require path
  • Loading branch information
kenju committed Jan 5, 2017
2 parents 4ef114f + 867790d commit 52e55d2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"lint": "eslint src/**/*.{js,jsx} spec/**/*.{js,jsx}",
"build": "babel src --out-dir lib --source-maps",
"test": "nyc mocha --opts spec/mocha.opts spec/**/*.spec.jsx",
"coveralls": "nyc report --reporter=text-lcov | $(npm bin)/coveralls"
"coveralls": "nyc report --reporter=text-lcov | $(npm bin)/coveralls",
"prepublish": "yarnpkg build"
},
"files": [
"lib",
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/image.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { matchDescriptor, matchWidthDescriptor, matchPixelDescriptor } from '../src/matcher';
import { matchDescriptor, matchWidthDescriptor, matchPixelDescriptor } from './matcher';

export default class Image extends React.Component {
static get propTypes() {
Expand Down
File renamed without changes.

0 comments on commit 52e55d2

Please sign in to comment.