Skip to content

Instantly share code, notes, and snippets.

@tlancina
tlancina / webpack.config.js
Last active May 8, 2017 21:19
A simple webpack config for TypeScript Ionic 2 starters
var path = require('path');
module.exports = {
entry: [
path.resolve('app/app.ts')
],
output: {
path: path.resolve('www/build/js'),
filename: 'app.bundle.js'
@tlancina
tlancina / webpack.config.js
Last active April 25, 2016 15:47
A simple webpack config for JS Ionic 2 starters (not TypeScript)
var path = require('path');
module.exports = {
entry: [
path.resolve('app/app')
],
output: {
path: path.resolve('www/build/js'),
filename: 'app.bundle.js'
@tlancina
tlancina / gulpfile.js
Created February 24, 2016 22:49
A gulpfile for ionic2 starters using browserify
/******************************************************************************
* Gulpfile
* Be sure to run `npm install` for `gulp` and the following tasks to be
* available from the command line. All tasks are run using `gulp taskName`.
******************************************************************************/
// node module imports
var gulp = require('gulp'),
browserify = require('browserify'),
watchify = require('watchify'),
@tlancina
tlancina / gulpfile.js
Created February 3, 2016 15:52
A Gulpfile for Ionic 2 starters
/******************************************************************************
* Gulpfile
* Be sure to run `npm install` for `gulp` and the following tasks to be
* available from the command line. All tasks are run using `gulp taskName`.
******************************************************************************/
// node module imports
var gulp = require('gulp'),
webpack = require('webpack'),
sass = require('gulp-sass'),