Skip to content
This repository was archived by the owner on Jan 31, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
move files into lib directory
  • Loading branch information
chrisbreiding committed Apr 3, 2020
commit 098d3bcaf7ee64276d82c234504d2eb21a6d4bd3
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const path = require('path')
const Promise = require('bluebird')
const fs = require('./fs')
const fs = require('./lib/fs')

const cloneDeep = require('lodash.clonedeep')
const browserify = require('browserify')
Expand Down Expand Up @@ -95,7 +95,7 @@ const getBrowserifyOptions = (entry, userBrowserifyOptions = {}, typescriptPath
browserifyOptions.transform = transform.filter(([name]) => !name.includes('babelify'))
// add typescript compiler
browserifyOptions.transform.push([
path.join(__dirname, './simple_tsify'), {
path.join(__dirname, './lib/simple_tsify'), {
typescript: require(typescriptPath),
},
])
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/e2e/e2e_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const chai = require('chai')
const path = require('path')
const snapshot = require('snap-shot-it')

const fs = require('../../fs')
const fs = require('../../lib/fs')
const preprocessor = require('../../index')

/* eslint-disable-next-line no-unused-vars */
Expand Down
2 changes: 1 addition & 1 deletion test/unit/index_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const streamApi = {

streamApi.on = sandbox.stub().returns(streamApi)

const fs = require('../../fs')
const fs = require('../../lib/fs')
const preprocessor = require('../../index')

describe('browserify preprocessor', function () {
Expand Down